mirror of
https://github.com/reactos/reactos.git
synced 2025-02-23 00:45:24 +00:00
[MSGINA] Fix the order of checking for a valid / visible window, spotted by 'leha-bot' CORE-12028
svn path=/trunk/; revision=72934
This commit is contained in:
parent
330db984fe
commit
c9c3a517b2
1 changed files with 1 additions and 1 deletions
|
@ -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))
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue