mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-14 13:55:43 +00:00
Bug 439603 - scope a case statement to avoid an unusual error during cross-compiling, r=roc
This commit is contained in:
parent
befb38e653
commit
9b4b769367
@ -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:
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user