# HG changeset patch # User Bob Pendleton # Date 1183736728 0 # Node ID 5660f48b31f5c15922a5faf51c68c6c1058c8e2b # Parent 760c1bd2d625363fb3e6f1e91610e3c2fce9fa3f fixed code for printing mousewheel events to match the new format of mousewheel events. diff -r 760c1bd2d625 -r 5660f48b31f5 test/common.c --- 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: