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