- Fix GetPeekMessage apitest that was broken when fixing the last two post quite message test.

svn path=/trunk/; revision=51245
This commit is contained in:
James Tabor
2011-04-03 21:12:40 +00:00
parent 9d955773ac
commit 526f2d84e4
@@ -1861,7 +1861,7 @@ NtUserGetMessage(PMSG pMsg,
UserLeave();
if (Ret)
if (Ret == TRUE)
{
_SEH2_TRY
{
@@ -1876,7 +1876,10 @@ NtUserGetMessage(PMSG pMsg,
_SEH2_END;
}
return Ret ? (WM_QUIT != pMsg->message) : FALSE;
if ((INT)Ret != -1)
Ret = Ret ? (WM_QUIT != pMsg->message) : FALSE;
return Ret;
}
BOOL APIENTRY