Skip to content
This repository has been archived by the owner on Feb 11, 2021. It is now read-only.

Commit

Permalink
Fixed return value documentation for SDL_HapticUpdateEffect().
Browse files Browse the repository at this point in the history
It was a cut-and-paste error from SDL_HapticNewEffect(), right above it.
  • Loading branch information
icculus committed Jul 27, 2013
1 parent 240b60f commit 2f5854b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/SDL_haptic.h
Expand Up @@ -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
Expand Down

0 comments on commit 2f5854b

Please sign in to comment.