diff dwt/graphics/GC.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 476f8d5c0b07
children
line wrap: on
line diff
--- a/dwt/graphics/GC.d	Wed Jun 10 20:51:17 2009 +0200
+++ b/dwt/graphics/GC.d	Wed Jun 10 21:52:31 2009 +0200
@@ -2131,6 +2131,7 @@
                     if (pointCount !is 0) clipRgn.add(pointArray, pointCount);
                     pointCount = 0;
                     break;
+                default:
             }
         }
         if (pointCount !is 0) clipRgn.add(pointArray, pointCount);
@@ -2280,6 +2281,7 @@
         case OS.NSImageInterpolationNone: return DWT.NONE;
         case OS.NSImageInterpolationLow: return DWT.LOW;
         case OS.NSImageInterpolationHigh: return DWT.HIGH;
+        default:
     }
     return DWT.DEFAULT;
 }