Bug 439603 - scope a case statement to avoid an unusual error during cross-compiling, r=roc

This commit is contained in:
Bo Yang 2008-06-19 14:32:52 -04:00
parent 5f53c706ca
commit 02c5d88928

View File

@ -1597,8 +1597,10 @@ nsNativeThemeWin::GetWidgetPadding(nsIDeviceContext* aContext,
case NS_THEME_MENUITEMTEXT:
// There seem to be exactly 4 pixels from the edge
// of the gutter to the text: 2px margin (CSS) + 2px padding (here)
SIZE size(GetGutterSize(theme, NULL));
left = size.cx + 2;
{
SIZE size(GetGutterSize(theme, NULL));
left = size.cx + 2;
}
break;
case NS_THEME_MENUSEPARATOR:
{