Author: jimtabor
Date: Fri Nov 22 17:07:02 2013
New Revision: 61078
URL:
http://svn.reactos.org/svn/reactos?rev=61078&view=rev
Log:
- Fix condition when window is null while in event. See CORE-7635.
Modified:
trunk/reactos/win32ss/user/ntuser/event.c
Modified: trunk/reactos/win32ss/user/ntuser/event.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/win32ss/user/ntuser/event.…
==============================================================================
--- trunk/reactos/win32ss/user/ntuser/event.c [iso-8859-1] (original)
+++ trunk/reactos/win32ss/user/ntuser/event.c [iso-8859-1] Fri Nov 22 17:07:02 2013
@@ -260,7 +260,7 @@
ERR("Global Event 0x%x, idObject %d\n", Event, idObject);
IntCallLowLevelEvent( pEH,
Event,
- UserHMGetHandle(pWnd),
+ pWnd ? UserHMGetHandle(pWnd) : NULL,
idObject,
idChild);
}
@@ -269,7 +269,7 @@
ERR("Local Event 0x%x, idObject %d\n", Event, idObject);
co_IntCallEventProc( UserHMGetHandle(pEH),
Event,
- UserHMGetHandle(pWnd),
+ pWnd ? UserHMGetHandle(pWnd) : NULL,
idObject,
idChild,
PtrToUint(NtCurrentTeb()->ClientId.UniqueThread),