mirror of
https://github.com/reactos/reactos.git
synced 2025-05-07 18:56:48 +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)
|
while (CurrentWindow)
|
||||||
{
|
{
|
||||||
CurrentWnd = CurrentWindow->Wnd;
|
CurrentWnd = CurrentWindow->Wnd;
|
||||||
if (!(CurrentWnd->Style & WS_VISIBLE))
|
if (!(CurrentWnd) || !(CurrentWnd->Style & WS_VISIBLE))
|
||||||
{
|
{
|
||||||
NtGdiDeleteObject(VisRgn);
|
NtGdiDeleteObject(VisRgn);
|
||||||
return NULL;
|
return NULL;
|
||||||
|
|
Loading…
Reference in a new issue