mirror of
https://github.com/reactos/reactos.git
synced 2024-07-31 08:39:05 +00:00
don't deref NULL pointer
svn path=/trunk/; revision=34412
This commit is contained in:
parent
6f1c458cd7
commit
9c5c81eba2
|
@ -117,6 +117,7 @@ BOOL FASTCALL can_activate_window( PWINDOW_OBJECT Wnd OPTIONAL)
|
|||
LONG style;
|
||||
|
||||
if (!Wnd) return FALSE;
|
||||
if (!Wnd->Wnd) return FALSE;
|
||||
style = Wnd->Wnd->Style;
|
||||
if (!(style & WS_VISIBLE) &&
|
||||
Wnd->OwnerThread->ThreadsProcess != CsrProcess) return FALSE;
|
||||
|
|
Loading…
Reference in a new issue