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
This commit is contained in:
Magnus Olsen 2006-04-10 19:21:22 +00:00
parent 45fca8f1a3
commit a7213db5b4

View file

@ -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;
}