Fixed typo in internal joystick documentation comments.

This commit is contained in:
Philipp Wiesemann 2015-04-15 21:29:55 +02:00
parent e6b7b38c6c
commit 3e1d36299a
9 changed files with 9 additions and 9 deletions

View File

@ -495,7 +495,7 @@ SDL_SYS_JoystickOpen(SDL_Joystick * joystick, int device_index)
return (0); return (0);
} }
/* Function to determine is this joystick is attached to the system right now */ /* Function to determine if this joystick is attached to the system right now */
SDL_bool SDL_SYS_JoystickAttached(SDL_Joystick *joystick) SDL_bool SDL_SYS_JoystickAttached(SDL_Joystick *joystick)
{ {
return joystick->hwdata != NULL; return joystick->hwdata != NULL;

View File

@ -421,7 +421,7 @@ SDL_SYS_JoystickOpen(SDL_Joystick * joy, int device_index)
return (-1); return (-1);
} }
/* Function to determine is this joystick is attached to the system right now */ /* Function to determine if this joystick is attached to the system right now */
SDL_bool SDL_SYS_JoystickAttached(SDL_Joystick *joystick) SDL_bool SDL_SYS_JoystickAttached(SDL_Joystick *joystick)
{ {
return SDL_TRUE; return SDL_TRUE;

View File

@ -71,7 +71,7 @@ SDL_SYS_JoystickOpen(SDL_Joystick * joystick, int device_index)
return SDL_SetError("Logic error: No joysticks available"); return SDL_SetError("Logic error: No joysticks available");
} }
/* Function to determine is this joystick is attached to the system right now */ /* Function to determine if this joystick is attached to the system right now */
SDL_bool SDL_SYS_JoystickAttached(SDL_Joystick *joystick) SDL_bool SDL_SYS_JoystickAttached(SDL_Joystick *joystick)
{ {
return SDL_TRUE; return SDL_TRUE;

View File

@ -323,7 +323,7 @@ SDL_SYS_JoystickOpen(SDL_Joystick * joystick, int device_index)
return (0); return (0);
} }
/* Function to determine is this joystick is attached to the system right now */ /* Function to determine if this joystick is attached to the system right now */
SDL_bool SDL_SYS_JoystickAttached(SDL_Joystick *joystick) SDL_bool SDL_SYS_JoystickAttached(SDL_Joystick *joystick)
{ {
return joystick->hwdata != NULL; return joystick->hwdata != NULL;

View File

@ -152,7 +152,7 @@ extern "C"
return (0); return (0);
} }
/* Function to determine is this joystick is attached to the system right now */ /* Function to determine if this joystick is attached to the system right now */
SDL_bool SDL_SYS_JoystickAttached(SDL_Joystick *joystick) SDL_bool SDL_SYS_JoystickAttached(SDL_Joystick *joystick)
{ {
return SDL_TRUE; return SDL_TRUE;

View File

@ -102,7 +102,7 @@ SDL_SYS_JoystickOpen(SDL_Joystick * joystick, int device_index)
return 0; return 0;
} }
/* Function to determine is this joystick is attached to the system right now */ /* Function to determine if this joystick is attached to the system right now */
SDL_bool SDL_SYS_JoystickAttached(SDL_Joystick *joystick) SDL_bool SDL_SYS_JoystickAttached(SDL_Joystick *joystick)
{ {
return SDL_TRUE; return SDL_TRUE;

View File

@ -621,7 +621,7 @@ SDL_SYS_JoystickOpen(SDL_Joystick * joystick, int device_index)
return (0); return (0);
} }
/* Function to determine is this joystick is attached to the system right now */ /* Function to determine if this joystick is attached to the system right now */
SDL_bool SDL_SYS_JoystickAttached(SDL_Joystick *joystick) SDL_bool SDL_SYS_JoystickAttached(SDL_Joystick *joystick)
{ {
return joystick->hwdata->item != NULL; return joystick->hwdata->item != NULL;

View File

@ -177,7 +177,7 @@ int SDL_SYS_JoystickOpen(SDL_Joystick *joystick, int device_index)
return 0; return 0;
} }
/* Function to determine is this joystick is attached to the system right now */ /* Function to determine if this joystick is attached to the system right now */
SDL_bool SDL_SYS_JoystickAttached(SDL_Joystick *joystick) SDL_bool SDL_SYS_JoystickAttached(SDL_Joystick *joystick)
{ {
return SDL_TRUE; return SDL_TRUE;

View File

@ -271,7 +271,7 @@ SDL_SYS_JoystickOpen(SDL_Joystick * joystick, int device_index)
return (0); return (0);
} }
/* Function to determine is this joystick is attached to the system right now */ /* Function to determine if this joystick is attached to the system right now */
SDL_bool SDL_SYS_JoystickAttached(SDL_Joystick *joystick) SDL_bool SDL_SYS_JoystickAttached(SDL_Joystick *joystick)
{ {
return SDL_TRUE; return SDL_TRUE;