[ros-diffs] [jimtabor] 51245: [Win32k] - Fix GetPeekMessage apitest that was broken when fixing the last two post quite message test.
jimtabor at svn.reactos.org
jimtabor at svn.reactos.org
Sun Apr 3 21:12:40 UTC 2011
Author: jimtabor
Date: Sun Apr 3 21:12:40 2011
New Revision: 51245
URL: http://svn.reactos.org/svn/reactos?rev=51245&view=rev
Log:
[Win32k]
- Fix GetPeekMessage apitest that was broken when fixing the last two post quite message test.
Modified:
trunk/reactos/subsystems/win32/win32k/ntuser/message.c
Modified: trunk/reactos/subsystems/win32/win32k/ntuser/message.c
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/subsystems/win32/win32k/ntuser/message.c?rev=51245&r1=51244&r2=51245&view=diff
==============================================================================
--- trunk/reactos/subsystems/win32/win32k/ntuser/message.c [iso-8859-1] (original)
+++ trunk/reactos/subsystems/win32/win32k/ntuser/message.c [iso-8859-1] Sun Apr 3 21:12:40 2011
@@ -1861,7 +1861,7 @@
UserLeave();
- if (Ret)
+ if (Ret == TRUE)
{
_SEH2_TRY
{
@@ -1876,7 +1876,10 @@
_SEH2_END;
}
- return Ret ? (WM_QUIT != pMsg->message) : FALSE;
+ if ((INT)Ret != -1)
+ Ret = Ret ? (WM_QUIT != pMsg->message) : FALSE;
+
+ return Ret;
}
BOOL APIENTRY
More information about the Ros-diffs
mailing list