From 37cf6bcd756e4bdf0b80348335e9056c8a578187 Mon Sep 17 00:00:00 2001 From: James Tabor Date: Sat, 26 Jul 2008 00:25:42 +0000 Subject: [PATCH] - Fix boot add missing return. svn path=/trunk/; revision=34799 --- reactos/subsystems/win32/win32k/ntuser/message.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/reactos/subsystems/win32/win32k/ntuser/message.c b/reactos/subsystems/win32/win32k/ntuser/message.c index 70c99eec940..79a7402276a 100644 --- a/reactos/subsystems/win32/win32k/ntuser/message.c +++ b/reactos/subsystems/win32/win32k/ntuser/message.c @@ -301,7 +301,7 @@ NtUserCallMsgFilter( LPMSG lpmsg, INT code) { - BOOL BadChk = FALSE; + BOOL BadChk = FALSE, Ret = TRUE; MSG Msg; DECLARE_RETURN(BOOL); @@ -331,7 +331,7 @@ NtUserCallMsgFilter( if (!co_HOOK_CallHooks( WH_SYSMSGFILTER, code, 0, (LPARAM)&Msg)) { - co_HOOK_CallHooks( WH_MSGFILTER, code, 0, (LPARAM)&Msg); + Ret = co_HOOK_CallHooks( WH_MSGFILTER, code, 0, (LPARAM)&Msg); } _SEH_TRY @@ -349,6 +349,7 @@ NtUserCallMsgFilter( } _SEH_END; if (BadChk) RETURN( FALSE); + RETURN( Ret) CLEANUP: DPRINT("Leave NtUserCallMsgFilter. ret=%i\n", _ret_);