From 84ae36c78db45532c8c1ca86231005e9e5fc657b Mon Sep 17 00:00:00 2001 From: Katayama Hirofumi MZ Date: Sat, 27 Oct 2018 20:32:51 +0900 Subject: [PATCH] [WIN32SS][USER32] Fix #984 (#985) Sorry, I had to wait the build checks. --- win32ss/user/user32/windows/window.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/win32ss/user/user32/windows/window.c b/win32ss/user/user32/windows/window.c index bb42e4de4af..1f8f5ca4cfb 100644 --- a/win32ss/user/user32/windows/window.c +++ b/win32ss/user/user32/windows/window.c @@ -129,7 +129,7 @@ CloseWindow(HWND hWnd) { PostMessageW(hWnd, WM_SYSCOMMAND, SC_MINIMIZE, 0); - return ValidateHwnd(hWndParent) != NULL; + return ValidateHwnd(hWnd) != NULL; } FORCEINLINE