--- trunk/reactos/subsys/win32k/ntuser/message.c 2005-07-15 14:29:58 UTC (rev 16577)
+++ trunk/reactos/subsys/win32k/ntuser/message.c 2005-07-15 14:40:47 UTC (rev 16578)
@@ -887,7 +887,7 @@
/* 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);