src/haptic/SDL_haptic.c
changeset 7131 70a7369c5b32
parent 7037 3fedf1f25b94
child 7524 6d8fd70e1477
     1.1 --- a/src/haptic/SDL_haptic.c	Mon Apr 29 23:54:22 2013 +0200
     1.2 +++ b/src/haptic/SDL_haptic.c	Wed May 01 11:32:05 2013 +0200
     1.3 @@ -397,7 +397,7 @@
     1.4  SDL_HapticQuery(SDL_Haptic * haptic)
     1.5  {
     1.6      if (!ValidHaptic(haptic)) {
     1.7 -        return -1;
     1.8 +        return 0; /* same as if no effects were supported */
     1.9      }
    1.10  
    1.11      return haptic->supported;