projects
/
reactos.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
330db98
)
[MSGINA] Fix the order of checking for a valid / visible window, spotted by 'leha...
author
Mark Jansen
<mark.jansen@reactos.org>
Fri, 7 Oct 2016 23:11:17 +0000
(23:11 +0000)
committer
Mark Jansen
<mark.jansen@reactos.org>
Fri, 7 Oct 2016 23:11:17 +0000
(23:11 +0000)
svn path=/trunk/; revision=72934
reactos/dll/win32/msgina/dimmedwindow.cpp
patch
|
blob
|
history
diff --git
a/reactos/dll/win32/msgina/dimmedwindow.cpp
b/reactos/dll/win32/msgina/dimmedwindow.cpp
index
0a3abad
..
0b93e0d
100644
(file)
--- a/
reactos/dll/win32/msgina/dimmedwindow.cpp
+++ b/
reactos/dll/win32/msgina/dimmedwindow.cpp
@@
-104,7
+104,7
@@
public:
{
MSG msg;
- while (
!IsWindowVisible(m_hwnd) && IsWindow
(m_hwnd))
+ while (
IsWindow(m_hwnd) && !IsWindowVisible
(m_hwnd))
{
while (::PeekMessage(&msg, m_hwnd, 0, 0, PM_REMOVE))
{