mirror of
https://github.com/reactos/reactos.git
synced 2025-08-02 00:13:04 +00:00
don't deref NULL pointer
svn path=/trunk/; revision=34412
This commit is contained in:
parent
6f1c458cd7
commit
9c5c81eba2
1 changed files with 1 additions and 0 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue