[WIN32SS][USER32] Fix #984 (#985)
authorKatayama Hirofumi MZ <katayama.hirofumi.mz@gmail.com>
Sat, 27 Oct 2018 11:32:51 +0000 (20:32 +0900)
committerGitHub <noreply@github.com>
Sat, 27 Oct 2018 11:32:51 +0000 (20:32 +0900)
Sorry, I had to wait the build checks.

win32ss/user/user32/windows/window.c

index bb42e4d..1f8f5ca 100644 (file)
@@ -129,7 +129,7 @@ CloseWindow(HWND hWnd)
 {
     PostMessageW(hWnd, WM_SYSCOMMAND, SC_MINIMIZE, 0);
 
-    return ValidateHwnd(hWndParent) != NULL;
+    return ValidateHwnd(hWnd) != NULL;
 }
 
 FORCEINLINE