mirror of
https://github.com/reactos/reactos.git
synced 2025-05-06 18:31:26 +00:00
- More Window Threads issues. Need to finish the window object rewrite!
svn path=/trunk/; revision=41753
This commit is contained in:
parent
5e7a8d3a1a
commit
86fe4eade9
2 changed files with 4 additions and 1 deletions
|
@ -43,7 +43,7 @@ VIS_ComputeVisibleRegion(
|
|||
|
||||
Wnd = Window->Wnd;
|
||||
|
||||
if (!(Wnd->Style & WS_VISIBLE))
|
||||
if (!Wnd || !(Wnd->Style & WS_VISIBLE))
|
||||
{
|
||||
return NULL;
|
||||
}
|
||||
|
|
|
@ -759,6 +759,9 @@ BOOL FASTCALL
|
|||
WinPosFixupFlags(WINDOWPOS *WinPos, PWINDOW_OBJECT Window)
|
||||
{
|
||||
PWINDOW Wnd = Window->Wnd;
|
||||
|
||||
if (!Wnd) return FALSE;
|
||||
|
||||
if (Wnd->Style & WS_VISIBLE)
|
||||
{
|
||||
WinPos->flags &= ~SWP_SHOWWINDOW;
|
||||
|
|
Loading…
Reference in a new issue