mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-08-29 04:13:32 +00:00
- More Window Threads issues. Need to finish the window object rewrite!
svn path=/trunk/; revision=41753
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user