mirror of
https://github.com/mpv-player/mpv
synced 2024-10-18 10:25:02 +02:00
Remove a declaration-after-statement warning.
patch by Zuxy Meng, zuxy.meng gmail com git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@20410 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
10b7abe81b
commit
d5040bf96b
@ -1015,9 +1015,10 @@ static LRESULT CALLBACK WndProc(HWND hWnd, UINT message, WPARAM wParam, LPARAM l
|
||||
}
|
||||
case WM_MOUSEWHEEL:
|
||||
{
|
||||
int x;
|
||||
if (vo_nomouse_input)
|
||||
break;
|
||||
int x = GET_WHEEL_DELTA_WPARAM(wParam);
|
||||
x = GET_WHEEL_DELTA_WPARAM(wParam);
|
||||
if (x > 0)
|
||||
mplayer_put_key(MOUSE_BTN3);
|
||||
else
|
||||
|
Loading…
Reference in New Issue
Block a user