mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-13 21:35:39 +00:00
r=mkaply, a=blizzard Code from jjones to check window before deferencing it
This commit is contained in:
parent
9f85b7a761
commit
9f883208c2
@ -678,7 +678,7 @@ MRESULT EXPENTRY fnwpNSWindow( HWND hwnd, ULONG msg, MPARAM mp1, MPARAM mp2)
|
||||
{
|
||||
BOOL bPreHandling = g_bHandlingMouseClick;
|
||||
if( PR_FALSE == wnd->ProcessMessage( msg, mp1, mp2, mRC) &&
|
||||
wnd->GetPrevWP())
|
||||
WinIsWindow( (HAB)0, hwnd) && wnd->GetPrevWP())
|
||||
{
|
||||
mRC = (wnd->GetPrevWP())( hwnd, msg, mp1, mp2);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user