src/haptic/SDL_haptic.c
changeset 6690 9548c8a58103
parent 6389 43a190ad60a7
child 6885 700f1b25f77f
     1.1 --- a/src/haptic/SDL_haptic.c	Mon Nov 26 14:59:07 2012 -0800
     1.2 +++ b/src/haptic/SDL_haptic.c	Mon Nov 26 16:37:54 2012 -0800
     1.3 @@ -238,7 +238,7 @@
     1.4      int ret;
     1.5  
     1.6      /* Must be a valid joystick */
     1.7 -    if (!SDL_PrivateJoystickValid(&joystick)) {
     1.8 +    if (!SDL_PrivateJoystickValid(joystick)) {
     1.9          return -1;
    1.10      }
    1.11  
    1.12 @@ -263,7 +263,7 @@
    1.13      SDL_Haptic *haptic;
    1.14  
    1.15      /* Must be a valid joystick */
    1.16 -    if (!SDL_PrivateJoystickValid(&joystick)) {
    1.17 +    if (!SDL_PrivateJoystickValid(joystick)) {
    1.18          SDL_SetError("Haptic: Joystick isn't valid.");
    1.19          return NULL;
    1.20      }