diff test/common.c @ 2154:5660f48b31f5

fixed code for printing mousewheel events to match the new format of mousewheel events.
author Bob Pendleton <bob@pendleton.com>
date Fri, 06 Jul 2007 15:45:28 +0000
parents db3ba6c0d0df
children 8f37b91f2e3e
line wrap: on
line diff
--- a/test/common.c	Fri Jul 06 13:45:10 2007 +0000
+++ b/test/common.c	Fri Jul 06 15:45:28 2007 +0000
@@ -825,8 +825,8 @@
                 event->button.y, event->button.windowID);
         break;
     case SDL_MOUSEWHEEL:
-        fprintf(stderr, "Mouse %d: wheel scrolled %d in window %d",
-                event->wheel.which, event->wheel.motion,
+        fprintf(stderr, "Mouse %d: wheel scrolled %d in x and %d in y in window %d",
+                event->wheel.which, event->wheel.x, event->wheel.y,
                 event->wheel.windowID);
         break;
     case SDL_JOYBALLMOTION: