зеркало из https://github.com/mozilla/gecko-dev.git
Initializes a menuHandle to nil before sending it in an event. I don't have a bug report for that. I don't even remember what it is for. This fix has been sitting for months in my tree.
This commit is contained in:
Родитель
5ed565360d
Коммит
1adf408be1
|
@ -624,7 +624,7 @@ NS_METHOD nsMenuBar::Paint()
|
|||
menu->IsHelpMenu(&isHelpMenu);
|
||||
if (isHelpMenu)
|
||||
{
|
||||
MenuHandle helpMenuHandle;
|
||||
MenuHandle helpMenuHandle = nil;
|
||||
#if !TARGET_CARBON
|
||||
::HMGetHelpMenuHandle(&helpMenuHandle);
|
||||
menu->SetNativeData((void*)helpMenuHandle);
|
||||
|
|
Загрузка…
Ссылка в новой задаче