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 75365b6e09ec3dd3
parent 7535 c515121a3df7
child 7537 8c95c32bda2c
Backed out hg changeset 7f26fd1df927; docs were wrong, not the code.
src/haptic/SDL_haptic.c
     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