Author: greatlrd
Date: Mon Apr 10 23:21:22 2006
New Revision: 21543
URL:
http://svn.reactos.ru/svn/reactos?rev=21543&view=rev
Log:
Bug 1376, patch from SuperTrax at gmx dot de
if a Window was showed normaly,
GetWindowPlacement never returned a showCmd.
Modified:
trunk/reactos/subsystems/win32/win32k/ntuser/window.c
Modified: trunk/reactos/subsystems/win32/win32k/ntuser/window.c
URL:
http://svn.reactos.ru/svn/reactos/trunk/reactos/subsystems/win32/win32k/ntu…
==============================================================================
--- trunk/reactos/subsystems/win32/win32k/ntuser/window.c (original)
+++ trunk/reactos/subsystems/win32/win32k/ntuser/window.c Mon Apr 10 23:21:22 2006
@@ -3676,7 +3676,7 @@
{
Safepl.showCmd = SW_MINIMIZE;
}
- else if (0 != (Window->Style & WS_MINIMIZE))
+ else if (0 != (Window->Style & WS_VISIBLE))
{
Safepl.showCmd = SW_SHOWNORMAL;
}