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