diff src/video/win32/SDL_win32events.c @ 2152:003c1b5b07da

Fixed bug #382 Added horizontal scrolling support
author Sam Lantinga <slouken@libsdl.org>
date Fri, 06 Jul 2007 09:22:18 +0000
parents e1a70460c354
children 545fbf461c5b
line wrap: on
line diff
--- a/src/video/win32/SDL_win32events.c	Thu Jul 05 06:35:40 2007 +0000
+++ b/src/video/win32/SDL_win32events.c	Fri Jul 06 09:22:18 2007 +0000
@@ -645,7 +645,7 @@
             int motion = (short) HIWORD(wParam);
 
             index = data->videodata->mouse;
-            SDL_SendMouseWheel(index, motion);
+            SDL_SendMouseWheel(index, 0, motion);
         }
         return (0);