Corrected spelling in C source files.
authorPhilipp Wiesemann <philipp.wiesemann@arcor.de>
Wed, 01 May 2013 11:42:29 +0200
changeset 7132 1415923c2eab
parent 7131 70a7369c5b32
child 7133 87d4cb9bb66c
Corrected spelling in C source files.
src/haptic/darwin/SDL_syshaptic.c
src/haptic/linux/SDL_syshaptic.c
src/haptic/windows/SDL_syshaptic.c
--- a/src/haptic/darwin/SDL_syshaptic.c	Wed May 01 11:32:05 2013 +0200
+++ b/src/haptic/darwin/SDL_syshaptic.c	Wed May 01 11:42:29 2013 +0200
@@ -49,7 +49,7 @@
     char name[256];             /* Name of the device. */
 
     io_service_t dev;           /* Node we use to create the device. */
-    SDL_Haptic *haptic;         /* Haptic currently assosciated with it. */
+    SDL_Haptic *haptic;         /* Haptic currently associated with it. */
 
     /* Usage pages for determining if it's a mouse or not. */
     long usage;
@@ -259,7 +259,7 @@
     }
 
     /* Mac OS X currently is not mirroring all USB properties to HID page so need to look at USB device page also
-     * get dictionary for usb properties: step up two levels and get CF dictionary for USB properties
+     * get dictionary for USB properties: step up two levels and get CF dictionary for USB properties
      */
     if ((KERN_SUCCESS ==
          IORegistryEntryGetParentEntry(dev, kIOServicePlane, &parent1))
@@ -272,7 +272,7 @@
         if (usbProperties) {
             CFTypeRef refCF = 0;
             /* get device info
-             * try hid dictionary first, if fail then go to usb dictionary
+             * try hid dictionary first, if fail then go to USB dictionary
              */
 
 
@@ -708,7 +708,7 @@
     }
 
 
-    /* The big type handling switch, even bigger then linux's version. */
+    /* The big type handling switch, even bigger then Linux's version. */
     switch (src->type) {
     case SDL_HAPTIC_CONSTANT:
         hap_constant = &src->constant;
--- a/src/haptic/linux/SDL_syshaptic.c	Wed May 01 11:32:05 2013 +0200
+++ b/src/haptic/linux/SDL_syshaptic.c	Wed May 01 11:42:29 2013 +0200
@@ -371,7 +371,7 @@
 int
 SDL_SYS_JoystickSameHaptic(SDL_Haptic * haptic, SDL_Joystick * joystick)
 {
-    /* We are assuming linux is using evdev which should trump the old
+    /* We are assuming Linux is using evdev which should trump the old
      * joystick methods. */
     if (SDL_strcmp(joystick->hwdata->fname, haptic->hwdata->fname) == 0) {
         return 1;
@@ -548,7 +548,7 @@
 
 #define  CLAMP(x)    (((x) > 32767) ? 32767 : x)
 /*
- * Initializes the linux effect struct from a haptic_effect.
+ * Initializes the Linux effect struct from a haptic_effect.
  * Values above 32767 (for unsigned) are unspecified so we must clamp.
  */
 static int
--- a/src/haptic/windows/SDL_syshaptic.c	Wed May 01 11:32:05 2013 +0200
+++ b/src/haptic/windows/SDL_syshaptic.c	Wed May 01 11:42:29 2013 +0200
@@ -433,7 +433,7 @@
  *       - Set data format.
  *       - Acquire exclusiveness.
  *       - Reset actuators.
- *       - Get supported featuers.
+ *       - Get supported features.
  */
 static int
 SDL_SYS_HapticOpenFromDevice8(SDL_Haptic * haptic,
@@ -888,7 +888,7 @@
     }
 
 
-    /* The big type handling switch, even bigger then linux's version. */
+    /* The big type handling switch, even bigger then Linux's version. */
     switch (src->type) {
     case SDL_HAPTIC_CONSTANT:
         hap_constant = &src->constant;