From 2f5854ba900266247eb7b46b1c9c303b58784b67 Mon Sep 17 00:00:00 2001 From: "Ryan C. Gordon" Date: Sat, 27 Jul 2013 13:18:54 -0400 Subject: [PATCH] Fixed return value documentation for SDL_HapticUpdateEffect(). It was a cut-and-paste error from SDL_HapticNewEffect(), right above it. --- include/SDL_haptic.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/SDL_haptic.h b/include/SDL_haptic.h index 56af6a614..8bc726d41 100644 --- a/include/SDL_haptic.h +++ b/include/SDL_haptic.h @@ -986,7 +986,7 @@ extern DECLSPEC int SDLCALL SDL_HapticNewEffect(SDL_Haptic * haptic, * \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