From a7213db5b40c6257d59b992a0727edf7114ec2d9 Mon Sep 17 00:00:00 2001 From: Magnus Olsen Date: Mon, 10 Apr 2006 19:21:22 +0000 Subject: [PATCH] Bug 1376, patch from SuperTrax at gmx dot de if a Window was showed normaly, GetWindowPlacement never returned a showCmd. svn path=/trunk/; revision=21543 --- reactos/subsystems/win32/win32k/ntuser/window.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/reactos/subsystems/win32/win32k/ntuser/window.c b/reactos/subsystems/win32/win32k/ntuser/window.c index 4bfa88e00d8..e886057ade5 100644 --- a/reactos/subsystems/win32/win32k/ntuser/window.c +++ b/reactos/subsystems/win32/win32k/ntuser/window.c @@ -3676,7 +3676,7 @@ NtUserGetWindowPlacement(HWND hWnd, { Safepl.showCmd = SW_MINIMIZE; } - else if (0 != (Window->Style & WS_MINIMIZE)) + else if (0 != (Window->Style & WS_VISIBLE)) { Safepl.showCmd = SW_SHOWNORMAL; }