changeset 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 760c1bd2d625
children 31269eb74914
files test/common.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
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: