src/events/SDL_mouse.c
changeset 7037 3fedf1f25b94
parent 6950 1ddb72193079
child 7089 257fc4e541e1
     1.1 --- a/src/events/SDL_mouse.c	Fri Mar 29 21:29:57 2013 -0400
     1.2 +++ b/src/events/SDL_mouse.c	Sun Mar 31 12:48:50 2013 -0400
     1.3 @@ -413,8 +413,7 @@
     1.4      }
     1.5  
     1.6      if (!mouse->SetRelativeMouseMode) {
     1.7 -        SDL_Unsupported();
     1.8 -        return -1;
     1.9 +        return SDL_Unsupported();
    1.10      }
    1.11  
    1.12      if (mouse->SetRelativeMouseMode(enabled) < 0) {