mirror of
https://github.com/reactos/reactos.git
synced 2025-01-11 08:38:17 +00:00
- Fix a crash in user32 winetest msg.
svn path=/trunk/; revision=46009
This commit is contained in:
parent
f8fced000d
commit
6e96e3015c
1 changed files with 4 additions and 1 deletions
|
@ -502,7 +502,10 @@ IntIsWindowDrawable(PWINDOW_OBJECT Window)
|
|||
for (WndObject = Window; WndObject != NULL; WndObject = WndObject->spwndParent)
|
||||
{
|
||||
Wnd = WndObject->Wnd;
|
||||
if (!(Wnd->style & WS_VISIBLE) ||
|
||||
if ( Window->state & WINDOWSTATUS_DESTROYING || // state2
|
||||
Window->state & WINDOWSTATUS_DESTROYED ||
|
||||
!Wnd ||
|
||||
!(Wnd->style & WS_VISIBLE) ||
|
||||
((Wnd->style & WS_MINIMIZE) && (WndObject != Window)))
|
||||
{
|
||||
return FALSE;
|
||||
|
|
Loading…
Reference in a new issue