Skip to content
This repository has been archived by the owner on Feb 11, 2021. It is now read-only.

Commit

Permalink
Browse files Browse the repository at this point in the history
fixed code for printing mousewheel events to match the new format of …
…mousewheel events.
  • Loading branch information
pendletonrc committed Jul 6, 2007
1 parent 3f78c77 commit 3b8019b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/common.c
Expand Up @@ -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:
Expand Down

0 comments on commit 3b8019b

Please sign in to comment.