https://git.reactos.org/?p=reactos.git;a=commitdiff;h=aa04a0a6d31477dbf5b3a65cf79a690e44dcd4a7

commit aa04a0a6d31477dbf5b3a65cf79a690e44dcd4a7
Author:     Katayama Hirofumi MZ <katayama.hirofumi...@gmail.com>
AuthorDate: Wed Dec 12 08:03:49 2018 +0900
Commit:     GitHub <nore...@github.com>
CommitDate: Wed Dec 12 08:03:49 2018 +0900

    [WIN32SS] Replace ASSERT(FALSE); in IntGhostWindowFromHungWindow (#1116)
    
    CORE-11944
---
 win32ss/user/ntuser/ghost.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/win32ss/user/ntuser/ghost.c b/win32ss/user/ntuser/ghost.c
index efbc5d2a64..3342fea155 100644
--- a/win32ss/user/ntuser/ghost.c
+++ b/win32ss/user/ntuser/ghost.c
@@ -54,7 +54,7 @@ HWND FASTCALL IntGhostWindowFromHungWindow(PWND pHungWnd)
     HWND hwndGhost;
 
     if (!IntGetAtomFromStringOrAtom(&GhostProp, &Atom))
-        ASSERT(FALSE);
+        return NULL;
 
     hwndGhost = UserGetProp(pHungWnd, Atom, TRUE);
     if (hwndGhost)

Reply via email to