Skip to content

Commit

Permalink
fix incorrect struct member name in test code for wheel direction
Browse files Browse the repository at this point in the history
  • Loading branch information
urkle committed Dec 3, 2014
1 parent bd4dd2b commit 7810d19
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/test/SDL_test_common.c
Expand Up @@ -1106,7 +1106,7 @@ SDLTest_PrintEvent(SDL_Event * event)
break;
case SDL_MOUSEWHEEL:
SDL_Log("SDL EVENT: Mouse: wheel scrolled %d in x and %d in y (reversed: %d) in window %d",
event->wheel.x, event->wheel.y, event->wheel.reversed, event->wheel.windowID);
event->wheel.x, event->wheel.y, event->wheel.direction, event->wheel.windowID);
break;
case SDL_JOYDEVICEADDED:
SDL_Log("SDL EVENT: Joystick index %d attached",
Expand Down

0 comments on commit 7810d19

Please sign in to comment.