fix incorrect struct member name in test code for wheel direction
authorEdward Rudd <urkle@outoforder.cc>
Wed, 03 Dec 2014 11:04:07 -0500
changeset 9259 3154de62258e
parent 9258 95c3682d0b95
child 9260 039714172dc3
fix incorrect struct member name in test code for wheel direction
src/test/SDL_test_common.c
--- a/src/test/SDL_test_common.c	Sun Nov 23 21:10:55 2014 -0500
+++ b/src/test/SDL_test_common.c	Wed Dec 03 11:04:07 2014 -0500
@@ -1106,7 +1106,7 @@
         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",