Dmitry Timoshkov : user32: Add the SW_SHOWDEFAULT case to WINPOS_MinMaximize().

Alexandre Julliard julliard at winehq.org
Tue Mar 29 11:43:05 CDT 2011


Module: wine
Branch: master
Commit: 5fea02e8c2c83003f9b5278b8ba0dd48c9530449
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=5fea02e8c2c83003f9b5278b8ba0dd48c9530449

Author: Dmitry Timoshkov <dmitry at codeweavers.com>
Date:   Tue Mar 29 15:00:39 2011 +0900

user32: Add the SW_SHOWDEFAULT case to WINPOS_MinMaximize().

---

 dlls/user32/winpos.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/dlls/user32/winpos.c b/dlls/user32/winpos.c
index 03c16c9..a8324e8 100644
--- a/dlls/user32/winpos.c
+++ b/dlls/user32/winpos.c
@@ -955,6 +955,7 @@ UINT WINPOS_MinMaximize( HWND hwnd, UINT cmd, LPRECT rect )
         /* fall through */
     case SW_SHOWNORMAL:
     case SW_RESTORE:
+    case SW_SHOWDEFAULT: /* FIXME: should have its own handler */
         old_style = WIN_SetStyle( hwnd, 0, WS_MINIMIZE | WS_MAXIMIZE );
         if (old_style & WS_MINIMIZE)
         {




More information about the wine-cvs mailing list