Mercurial > projects > dwt-mac
comparison dwt/graphics/Path.d @ 151:0ba75290f8ce
Added a bunch of missing defaults to switch statements
author | Jacob Carlborg <doob@me.com> |
---|---|
date | Wed, 10 Jun 2009 21:52:31 +0200 |
parents | 62202ce0039f |
children |
comparison
equal
deleted
inserted
replaced
150:1ec7c20355bd | 151:0ba75290f8ce |
---|---|
589 pointArray[pointCount++] = cast(int)pt.y; | 589 pointArray[pointCount++] = cast(int)pt.y; |
590 break; | 590 break; |
591 case OS.NSClosePathBezierPathElement: | 591 case OS.NSClosePathBezierPathElement: |
592 types[typeCount++] = DWT.PATH_CLOSE; | 592 types[typeCount++] = DWT.PATH_CLOSE; |
593 break; | 593 break; |
594 default: | |
594 } | 595 } |
595 } | 596 } |
596 OS.free(points); | 597 OS.free(points); |
597 if (pointCount !is pointArray.length) { | 598 if (pointCount !is pointArray.length) { |
598 float[] temp = new float[pointCount]; | 599 float[] temp = new float[pointCount]; |