changeset 20394:6dad8fd4e8ec

Remove a declaration-after-statement warning. patch by Zuxy Meng, zuxy.meng gmail com
author diego
date Mon, 23 Oct 2006 11:26:40 +0000
parents 15c01d3248c1
children 5ce6fcd3cefd
files libvo/vo_directx.c
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/libvo/vo_directx.c	Mon Oct 23 11:13:49 2006 +0000
+++ b/libvo/vo_directx.c	Mon Oct 23 11:26:40 2006 +0000
@@ -1015,9 +1015,10 @@
 		}
         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