Fixed a test condition in IntWaitMessage.

svn path=/trunk/; revision=16578
This commit is contained in:
Hartmut Birr 2005-07-15 14:40:47 +00:00
parent dfaed2eb99
commit bde6eea1e8

View file

@ -887,7 +887,7 @@ IntWaitMessage(HWND Wnd,
/* Nothing found. Wait for new messages. */
Status = MsqWaitForNewMessages(ThreadQueue, Wnd, MsgFilterMin, MsgFilterMax);
}
while ((STATUS_WAIT_0 <= Status && Status <= STATUS_WAIT_63) || STATUS_TIMEOUT == Status);
while ((STATUS_WAIT_0 >= Status && Status <= STATUS_WAIT_63) || STATUS_TIMEOUT == Status);
SetLastNtError(Status);