bug 116042. Check for a null pointer. r=rods sr=waterson adt=Jaime Rodriguez, Jr. a= Randell Jesup. Fixes quickkeys crash.

git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@123284 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
dcone%netscape.com
2002-06-14 02:09:09 +00:00
parent a733dd87e2
commit 2ff622ca46

View File

@@ -915,9 +915,11 @@ NS_IMETHODIMP nsMacWindow::Show(PRBool bState)
}
else
#endif
::HideWindow(mWindowPtr);
if ( mWindowPtr ) {
::HideWindow(mWindowPtr);
}
return NS_OK;
}
return NS_OK;
}