зеркало из https://github.com/mozilla/gecko-dev.git
Bug 439603 - scope a case statement to avoid an unusual error during cross-compiling, r=roc
This commit is contained in:
Родитель
befb38e653
Коммит
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:
|
||||
{
|
||||
|
|
Загрузка…
Ссылка в новой задаче