Fixed typo in internal joystick documentation comments.
authorPhilipp Wiesemann <philipp.wiesemann@arcor.de>
Wed, 15 Apr 2015 21:29:55 +0200
changeset 9561 d8ad01792399
parent 9560 d1d80a69110b
child 9562 96479df8e0bf
Fixed typo in internal joystick documentation comments.
src/joystick/android/SDL_sysjoystick.c
src/joystick/bsd/SDL_sysjoystick.c
src/joystick/dummy/SDL_sysjoystick.c
src/joystick/emscripten/SDL_sysjoystick.c
src/joystick/haiku/SDL_haikujoystick.cc
src/joystick/iphoneos/SDL_sysjoystick.m
src/joystick/linux/SDL_sysjoystick.c
src/joystick/psp/SDL_sysjoystick.c
src/joystick/windows/SDL_mmjoystick.c
--- a/src/joystick/android/SDL_sysjoystick.c	Wed Apr 15 21:27:10 2015 +0200
+++ b/src/joystick/android/SDL_sysjoystick.c	Wed Apr 15 21:29:55 2015 +0200
@@ -495,7 +495,7 @@
     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)
 {
     return joystick->hwdata != NULL;
--- a/src/joystick/bsd/SDL_sysjoystick.c	Wed Apr 15 21:27:10 2015 +0200
+++ b/src/joystick/bsd/SDL_sysjoystick.c	Wed Apr 15 21:29:55 2015 +0200
@@ -421,7 +421,7 @@
     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)
 {
     return SDL_TRUE;
--- a/src/joystick/dummy/SDL_sysjoystick.c	Wed Apr 15 21:27:10 2015 +0200
+++ b/src/joystick/dummy/SDL_sysjoystick.c	Wed Apr 15 21:29:55 2015 +0200
@@ -71,7 +71,7 @@
     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)
 {
     return SDL_TRUE;
--- a/src/joystick/emscripten/SDL_sysjoystick.c	Wed Apr 15 21:27:10 2015 +0200
+++ b/src/joystick/emscripten/SDL_sysjoystick.c	Wed Apr 15 21:29:55 2015 +0200
@@ -323,7 +323,7 @@
     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)
 {
     return joystick->hwdata != NULL;
--- a/src/joystick/haiku/SDL_haikujoystick.cc	Wed Apr 15 21:27:10 2015 +0200
+++ b/src/joystick/haiku/SDL_haikujoystick.cc	Wed Apr 15 21:29:55 2015 +0200
@@ -152,7 +152,7 @@
         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)
     {
         return SDL_TRUE;
--- a/src/joystick/iphoneos/SDL_sysjoystick.m	Wed Apr 15 21:27:10 2015 +0200
+++ b/src/joystick/iphoneos/SDL_sysjoystick.m	Wed Apr 15 21:29:55 2015 +0200
@@ -102,7 +102,7 @@
     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)
 {
     return SDL_TRUE;
--- a/src/joystick/linux/SDL_sysjoystick.c	Wed Apr 15 21:27:10 2015 +0200
+++ b/src/joystick/linux/SDL_sysjoystick.c	Wed Apr 15 21:29:55 2015 +0200
@@ -621,7 +621,7 @@
     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)
 {
     return joystick->hwdata->item != NULL;
--- a/src/joystick/psp/SDL_sysjoystick.c	Wed Apr 15 21:27:10 2015 +0200
+++ b/src/joystick/psp/SDL_sysjoystick.c	Wed Apr 15 21:29:55 2015 +0200
@@ -177,7 +177,7 @@
     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)
 {
     return SDL_TRUE;
--- a/src/joystick/windows/SDL_mmjoystick.c	Wed Apr 15 21:27:10 2015 +0200
+++ b/src/joystick/windows/SDL_mmjoystick.c	Wed Apr 15 21:29:55 2015 +0200
@@ -271,7 +271,7 @@
     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)
 {
     return SDL_TRUE;