mirror of
https://github.com/reactos/reactos.git
synced 2025-05-06 18:31:26 +00:00
- Fix CurrentWnd when it has a NULL, see Bug 3527.
svn path=/trunk/; revision=34550
This commit is contained in:
parent
2557cd7a1e
commit
816777c79a
1 changed files with 1 additions and 1 deletions
|
@ -69,7 +69,7 @@ VIS_ComputeVisibleRegion(
|
|||
while (CurrentWindow)
|
||||
{
|
||||
CurrentWnd = CurrentWindow->Wnd;
|
||||
if (!(CurrentWnd->Style & WS_VISIBLE))
|
||||
if (!(CurrentWnd) || !(CurrentWnd->Style & WS_VISIBLE))
|
||||
{
|
||||
NtGdiDeleteObject(VisRgn);
|
||||
return NULL;
|
||||
|
|
Loading…
Reference in a new issue