https://git.reactos.org/?p=reactos.git;a=commitdiff;h=84ae36c78db45532c8c1ca86231005e9e5fc657b
commit 84ae36c78db45532c8c1ca86231005e9e5fc657b Author: Katayama Hirofumi MZ <[email protected]> AuthorDate: Sat Oct 27 20:32:51 2018 +0900 Commit: GitHub <[email protected]> CommitDate: Sat Oct 27 20:32:51 2018 +0900 [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 bb42e4de4a..1f8f5ca4cf 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
