projects
/
reactos.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f92c44b
)
[USER32] Fix IsWindow by not using WNDS2_INDESTROY (#6066)
author
Katayama Hirofumi MZ
<katayama.hirofumi.mz@gmail.com>
Fri, 1 Dec 2023 00:08:58 +0000
(09:08 +0900)
committer
GitHub
<noreply@github.com>
Fri, 1 Dec 2023 00:08:58 +0000
(09:08 +0900)
Based on I_Kill_Bugs' IsWinodw.patch.
CORE-11722, CORE-16432
win32ss/user/user32/windows/window.c
patch
|
blob
|
history
diff --git
a/win32ss/user/user32/windows/window.c
b/win32ss/user/user32/windows/window.c
index
93dd533
..
a0efdfa
100644
(file)
--- a/
win32ss/user/user32/windows/window.c
+++ b/
win32ss/user/user32/windows/window.c
@@
-1549,9
+1549,8
@@
IsWindow(HWND hWnd)
PWND Wnd = ValidateHwndNoErr(hWnd);
if (Wnd != NULL)
{
- if (Wnd->state & WNDS_DESTROYED ||
- Wnd->state2 & WNDS2_INDESTROY)
- return FALSE;
+ if (Wnd->state & WNDS_DESTROYED)
+ return FALSE;
return TRUE;
}