test/common.c
changeset 1957 c7803e4c21d3
parent 1933 7ee5297340f7
child 1965 a788656ca29a
--- a/test/common.c	Sat Jul 29 21:51:00 2006 +0000
+++ b/test/common.c	Sat Jul 29 22:42:48 2006 +0000
@@ -827,7 +827,7 @@
     case SDL_MOUSEWHEEL:
         fprintf(stderr, "Mouse %d: wheel scrolled %d in window %d",
                 event->wheel.which, event->wheel.motion,
-                event->button.windowID);
+                event->wheel.windowID);
         break;
     case SDL_JOYBALLMOTION:
         fprintf(stderr, "Joystick %d: ball %d moved by %d,%d",