src/SDL_compat.c
changeset 3585 f8816ffa210b
parent 3581 15eea7a1fa97
child 3592 25dc4a86132c
     1.1 --- a/src/SDL_compat.c	Wed Dec 16 16:42:04 2009 +0000
     1.2 +++ b/src/SDL_compat.c	Wed Dec 16 19:50:51 2009 +0000
     1.3 @@ -285,7 +285,7 @@
     1.4              }
     1.5  
     1.6              selected = SDL_SelectMouse(event->wheel.which);
     1.7 -            SDL_GetMouseState(selected, &x, &y);
     1.8 +            SDL_GetMouseState(&x, &y);
     1.9              SDL_SelectMouse(selected);
    1.10  
    1.11              if (event->wheel.y > 0) {