src/haptic/SDL_haptic.c
changeset 7536 5b6e09ec3dd3
parent 7533 8f4447da4cfd
child 7621 5caa5fb3deb6
     1.1 --- a/src/haptic/SDL_haptic.c	Sat Jul 27 13:09:15 2013 -0400
     1.2 +++ b/src/haptic/SDL_haptic.c	Sat Jul 27 13:13:57 2013 -0400
     1.3 @@ -530,7 +530,7 @@
     1.4  
     1.5      SDL_memcpy(&haptic->effects[effect].effect, data,
     1.6                 sizeof(SDL_HapticEffect));
     1.7 -    return effect;
     1.8 +    return 0;
     1.9  }
    1.10  
    1.11