Fixed return value documentation for SDL_HapticUpdateEffect().
authorRyan C. Gordon <icculus@icculus.org>
Sat, 27 Jul 2013 13:18:54 -0400
changeset 7537 8c95c32bda2c
parent 7536 5b6e09ec3dd3
child 7538 1d187795e103
Fixed return value documentation for SDL_HapticUpdateEffect(). It was a cut-and-paste error from SDL_HapticNewEffect(), right above it.
include/SDL_haptic.h
--- a/include/SDL_haptic.h	Sat Jul 27 13:13:57 2013 -0400
+++ b/include/SDL_haptic.h	Sat Jul 27 13:18:54 2013 -0400
@@ -986,7 +986,7 @@
  *  \param haptic Haptic device that has the effect.
  *  \param effect Effect to update.
  *  \param data New effect properties to use.
- *  \return The id of the effect on success or -1 on error.
+ *  \return 0 on success or -1 on error.
  *
  *  \sa SDL_HapticNewEffect
  *  \sa SDL_HapticRunEffect