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:
@@ -915,9 +915,11 @@ NS_IMETHODIMP nsMacWindow::Show(PRBool bState)
|
||||
}
|
||||
else
|
||||
#endif
|
||||
::HideWindow(mWindowPtr);
|
||||
if ( mWindowPtr ) {
|
||||
::HideWindow(mWindowPtr);
|
||||
}
|
||||
return NS_OK;
|
||||
}
|
||||
return NS_OK;
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user