diff options
Diffstat (limited to 'libvo/vo_directx.c')
-rw-r--r-- | libvo/vo_directx.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libvo/vo_directx.c b/libvo/vo_directx.c index 4d3417a107..023f0e72f7 100644 --- a/libvo/vo_directx.c +++ b/libvo/vo_directx.c @@ -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 |