Commit 273080af authored by Dylan Smith's avatar Dylan Smith Committed by Alexandre Julliard

winemine: Middle click drag should move the box highlighting.

The correct behaviour was intended, but the wrong check was made for wParam on the WM_MOUSEMOVE event.
parent 04f925e7
...@@ -176,7 +176,7 @@ LRESULT WINAPI MainProc( HWND hWnd, UINT msg, WPARAM wParam, LPARAM lParam) ...@@ -176,7 +176,7 @@ LRESULT WINAPI MainProc( HWND hWnd, UINT msg, WPARAM wParam, LPARAM lParam)
case WM_MOUSEMOVE: case WM_MOUSEMOVE:
{ {
if( (wParam & MK_LBUTTON) && (wParam & MK_RBUTTON) ) { if( wParam & MK_MBUTTON ) {
msg = WM_MBUTTONDOWN; msg = WM_MBUTTONDOWN;
} }
else if( wParam & MK_LBUTTON ) { else if( wParam & MK_LBUTTON ) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment