[WIN32SS] Replace ASSERT(FALSE); in IntGhostWindowFromHungWindow (#1116)
authorKatayama Hirofumi MZ <katayama.hirofumi.mz@gmail.com>
Tue, 11 Dec 2018 23:03:49 +0000 (08:03 +0900)
committerGitHub <noreply@github.com>
Tue, 11 Dec 2018 23:03:49 +0000 (08:03 +0900)
CORE-11944

win32ss/user/ntuser/ghost.c

index efbc5d2..3342fea 100644 (file)
@@ -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)