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.
This commit is contained in:
Dylan Smith 2008-06-24 14:09:46 -04:00 committed by Alexandre Julliard
parent 04f925e72c
commit 273080af7d
1 changed files with 1 additions and 1 deletions

View File

@ -176,7 +176,7 @@ LRESULT WINAPI MainProc( HWND hWnd, UINT msg, WPARAM wParam, LPARAM lParam)
case WM_MOUSEMOVE:
{
if( (wParam & MK_LBUTTON) && (wParam & MK_RBUTTON) ) {
if( wParam & MK_MBUTTON ) {
msg = WM_MBUTTONDOWN;
}
else if( wParam & MK_LBUTTON ) {