projects
/
reactos.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[Win32k]
[reactos.git]
/
reactos
/
win32ss
/
user
/
ntuser
/
vis.c
diff --git
a/reactos/win32ss/user/ntuser/vis.c
b/reactos/win32ss/user/ntuser/vis.c
index
1f0b7dc
..
522e763
100644
(file)
--- a/
reactos/win32ss/user/ntuser/vis.c
+++ b/
reactos/win32ss/user/ntuser/vis.c
@@
-45,10
+45,9
@@
VIS_ComputeVisibleRegion(
CurrentWindow = Wnd->spwndParent;
while (CurrentWindow)
{
CurrentWindow = Wnd->spwndParent;
while (CurrentWindow)
{
- if ( CurrentWindow->state2 & WNDS2_INDESTROY ||
- CurrentWindow->state & WNDS_DESTROYED )
+ if (!VerifyWnd(CurrentWindow))
{
{
- ERR("ATM the Current Window or Parent is dead!
\n"
);
+ ERR("ATM the Current Window or Parent is dead!
%p\n",CurrentWindow
);
if (VisRgn) GreDeleteObject(VisRgn);
return NULL;
}
if (VisRgn) GreDeleteObject(VisRgn);
return NULL;
}