Backed out hg changeset 7f26fd1df927; docs were wrong, not the code.
authorRyan C. Gordon <icculus@icculus.org>
Sat, 27 Jul 2013 13:13:57 -0400
changeset 7536 5b6e09ec3dd3
parent 7535 c515121a3df7
child 7537 8c95c32bda2c
Backed out hg changeset 7f26fd1df927; docs were wrong, not the code.
src/haptic/SDL_haptic.c
--- 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;
 }