diff options
author | diego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2006-10-23 11:26:40 +0000 |
---|---|---|
committer | diego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2006-10-23 11:26:40 +0000 |
commit | d5040bf96bd3d6f97c16f525ff16fd0a4b27bad6 (patch) | |
tree | 7fa04e05c0d5ffe80f482a86021485834c65c854 /libvo | |
parent | 10b7abe81ba83f91cd34ca7c9926e3a29f1980b3 (diff) | |
download | mpv-d5040bf96bd3d6f97c16f525ff16fd0a4b27bad6.tar.bz2 mpv-d5040bf96bd3d6f97c16f525ff16fd0a4b27bad6.tar.xz |
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
Diffstat (limited to 'libvo')
-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 |