mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-03 04:13:31 +00:00
[Win32k]
- 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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user