Mercurial > projects > dwt-addons
diff dwtx/draw2d/Label.d @ 192:c3583c6ec027
Added missing default cases for switch statements
author | Frank Benoit <benoit@tionex.de> |
---|---|
date | Mon, 03 Nov 2008 22:52:26 +0100 |
parents | 95307ad235d9 |
children |
line wrap: on
line diff
--- a/dwtx/draw2d/Label.d Tue Oct 28 23:59:57 2008 +0100 +++ b/dwtx/draw2d/Label.d Mon Nov 03 22:52:26 2008 +0100 @@ -139,6 +139,7 @@ alignOnWidth(textLocation, getSubStringTextSize(), textAlignment); alignOnWidth(iconLocation, getIconSize(), iconAlignment); break; + default: } } @@ -205,6 +206,7 @@ case SOUTH: offset.width = 0; break; + default: } textLocation.translate(offset); @@ -233,6 +235,7 @@ case SOUTH: textLocation.y = getIconSize().height + gap + insets.top; iconLocation.y = insets.top; + default: } }