Anatoly Lyutin : user32: mdi: Fix switch with wParam in WM_SYSCOMMAND processing.

Alexandre Julliard julliard at wine.codeweavers.com
Wed May 16 09:10:28 CDT 2007


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

Author: Anatoly Lyutin <vostok at etersoft.ru>
Date:   Mon May 14 20:42:32 2007 +0400

user32: mdi: Fix switch with wParam in WM_SYSCOMMAND processing.

---

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

diff --git a/dlls/user32/mdi.c b/dlls/user32/mdi.c
index 976bce3..05448d2 100644
--- a/dlls/user32/mdi.c
+++ b/dlls/user32/mdi.c
@@ -1498,7 +1498,7 @@ LRESULT WINAPI DefMDIChildProcW( HWND hwnd, UINT message,
         return 0;
 
     case WM_SYSCOMMAND:
-        switch( wParam )
+        switch (wParam & 0xfff0)
         {
         case SC_MOVE:
             if( ci->hwndChildMaximized == hwnd )




More information about the wine-cvs mailing list