fixed code for printing mousewheel events to match the new format of mousewheel events.

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%402432
This commit is contained in:
Bob Pendleton 2007-07-06 15:45:28 +00:00
parent 82e02091bc
commit 04c05620db

View File

@ -825,8 +825,8 @@ PrintEvent(SDL_Event * event)
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: