From 924d28cba788763d8a3228c6da379f0a67720231 Mon Sep 17 00:00:00 2001 From: Philipp Wiesemann Date: Mon, 22 Jul 2013 22:54:00 +0200 Subject: [PATCH] Corrected internal documentation in source. --- src/joystick/SDL_joystick.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/joystick/SDL_joystick.c b/src/joystick/SDL_joystick.c index d2eeb6ab6..bb8652f4d 100644 --- a/src/joystick/SDL_joystick.c +++ b/src/joystick/SDL_joystick.c @@ -50,7 +50,7 @@ int SDL_JoystickInit(void) { int status; - + /* See if we should allow joystick events while in the background */ SDL_AddHintCallback(SDL_HINT_JOYSTICK_ALLOW_BACKGROUND_EVENTS, SDL_JoystickAllowBackgroundEventsChanged, NULL); @@ -353,7 +353,7 @@ SDL_JoystickGetButton(SDL_Joystick * joystick, int button) /* * Return if the joystick in question is currently attached to the system, - * \return 0 if not plugged in, 1 if still present. + * \return SDL_FALSE if not plugged in, SDL_TRUE if still present. */ SDL_bool SDL_JoystickGetAttached(SDL_Joystick * joystick)