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:
pierre%netscape.com 2001-01-15 14:26:30 +00:00
Родитель 5ed565360d
Коммит 1adf408be1
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -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);