Author: ilardig
Date: Mon May 9 11:24:10 2011
New Revision: 51658
URL:
http://svn.reactos.org/svn/reactos?rev=51658&view=rev
Log:
[winine]
- Read also the shift key state patch by Carlo Bramini.
See issue #6238 for more details.
Modified:
trunk/reactos/base/applications/games/winmine/main.c
Modified: trunk/reactos/base/applications/games/winmine/main.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/games/wi…
==============================================================================
--- trunk/reactos/base/applications/games/winmine/main.c [iso-8859-1] (original)
+++ trunk/reactos/base/applications/games/winmine/main.c [iso-8859-1] Mon May 9 11:24:10
2011
@@ -885,7 +885,7 @@
case WM_LBUTTONDOWN:
WINE_TRACE("WM_LBUTTONDOWN\n");
- if( wParam & MK_RBUTTON )
+ if( wParam & (MK_RBUTTON | MK_SHIFT) )
msg = WM_MBUTTONDOWN;
TestBoard( hWnd, &board, (short)LOWORD(lParam), (short)HIWORD(lParam), msg
);
SetCapture( hWnd );
@@ -893,7 +893,7 @@
case WM_LBUTTONUP:
WINE_TRACE("WM_LBUTTONUP\n");
- if( wParam & MK_RBUTTON )
+ if( wParam & (MK_RBUTTON | MK_SHIFT) )
msg = WM_MBUTTONUP;
TestBoard( hWnd, &board, (short)LOWORD(lParam), (short)HIWORD(lParam), msg
);
ReleaseCapture();