Fixed some typos in the headers.
authorRyan C. Gordon <icculus@icculus.org>
Sat, 10 Aug 2013 13:20:45 -0400
changeset 7620 c99a31e02b7a
parent 7619 9b68ea3cd0a8
child 7621 5caa5fb3deb6
Fixed some typos in the headers.
include/SDL_haptic.h
--- a/include/SDL_haptic.h	Fri Aug 09 23:58:33 2013 -0700
+++ b/include/SDL_haptic.h	Sat Aug 10 13:20:45 2013 -0400
@@ -926,7 +926,7 @@
  *
  *  Example:
  *  \code
- *  if (SDL_HapticQueryEffects(haptic) & SDL_HAPTIC_CONSTANT) {
+ *  if (SDL_HapticQuery(haptic) & SDL_HAPTIC_CONSTANT) {
  *      printf("We have constant haptic effect!");
  *  }
  *  \endcode
@@ -1132,7 +1132,7 @@
 extern DECLSPEC int SDLCALL SDL_HapticStopAll(SDL_Haptic * haptic);
 
 /**
- *  \brief Checks to see if rumble is supported on a haptic device..
+ *  \brief Checks to see if rumble is supported on a haptic device.
  *
  *  \param haptic Haptic device to check to see if it supports rumble.
  *  \return SDL_TRUE if effect is supported, SDL_FALSE if it isn't or -1 on error.