Corrected spelling in C source files.
authorPhilipp Wiesemann <philipp.wiesemann@arcor.de>
Wed, 01 May 2013 11:42:29 +0200
changeset 71321415923c2eab
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
     1.1 --- a/src/haptic/darwin/SDL_syshaptic.c	Wed May 01 11:32:05 2013 +0200
     1.2 +++ b/src/haptic/darwin/SDL_syshaptic.c	Wed May 01 11:42:29 2013 +0200
     1.3 @@ -49,7 +49,7 @@
     1.4      char name[256];             /* Name of the device. */
     1.5  
     1.6      io_service_t dev;           /* Node we use to create the device. */
     1.7 -    SDL_Haptic *haptic;         /* Haptic currently assosciated with it. */
     1.8 +    SDL_Haptic *haptic;         /* Haptic currently associated with it. */
     1.9  
    1.10      /* Usage pages for determining if it's a mouse or not. */
    1.11      long usage;
    1.12 @@ -259,7 +259,7 @@
    1.13      }
    1.14  
    1.15      /* Mac OS X currently is not mirroring all USB properties to HID page so need to look at USB device page also
    1.16 -     * get dictionary for usb properties: step up two levels and get CF dictionary for USB properties
    1.17 +     * get dictionary for USB properties: step up two levels and get CF dictionary for USB properties
    1.18       */
    1.19      if ((KERN_SUCCESS ==
    1.20           IORegistryEntryGetParentEntry(dev, kIOServicePlane, &parent1))
    1.21 @@ -272,7 +272,7 @@
    1.22          if (usbProperties) {
    1.23              CFTypeRef refCF = 0;
    1.24              /* get device info
    1.25 -             * try hid dictionary first, if fail then go to usb dictionary
    1.26 +             * try hid dictionary first, if fail then go to USB dictionary
    1.27               */
    1.28  
    1.29  
    1.30 @@ -708,7 +708,7 @@
    1.31      }
    1.32  
    1.33  
    1.34 -    /* The big type handling switch, even bigger then linux's version. */
    1.35 +    /* The big type handling switch, even bigger then Linux's version. */
    1.36      switch (src->type) {
    1.37      case SDL_HAPTIC_CONSTANT:
    1.38          hap_constant = &src->constant;
     2.1 --- a/src/haptic/linux/SDL_syshaptic.c	Wed May 01 11:32:05 2013 +0200
     2.2 +++ b/src/haptic/linux/SDL_syshaptic.c	Wed May 01 11:42:29 2013 +0200
     2.3 @@ -371,7 +371,7 @@
     2.4  int
     2.5  SDL_SYS_JoystickSameHaptic(SDL_Haptic * haptic, SDL_Joystick * joystick)
     2.6  {
     2.7 -    /* We are assuming linux is using evdev which should trump the old
     2.8 +    /* We are assuming Linux is using evdev which should trump the old
     2.9       * joystick methods. */
    2.10      if (SDL_strcmp(joystick->hwdata->fname, haptic->hwdata->fname) == 0) {
    2.11          return 1;
    2.12 @@ -548,7 +548,7 @@
    2.13  
    2.14  #define  CLAMP(x)    (((x) > 32767) ? 32767 : x)
    2.15  /*
    2.16 - * Initializes the linux effect struct from a haptic_effect.
    2.17 + * Initializes the Linux effect struct from a haptic_effect.
    2.18   * Values above 32767 (for unsigned) are unspecified so we must clamp.
    2.19   */
    2.20  static int
     3.1 --- a/src/haptic/windows/SDL_syshaptic.c	Wed May 01 11:32:05 2013 +0200
     3.2 +++ b/src/haptic/windows/SDL_syshaptic.c	Wed May 01 11:42:29 2013 +0200
     3.3 @@ -433,7 +433,7 @@
     3.4   *       - Set data format.
     3.5   *       - Acquire exclusiveness.
     3.6   *       - Reset actuators.
     3.7 - *       - Get supported featuers.
     3.8 + *       - Get supported features.
     3.9   */
    3.10  static int
    3.11  SDL_SYS_HapticOpenFromDevice8(SDL_Haptic * haptic,
    3.12 @@ -888,7 +888,7 @@
    3.13      }
    3.14  
    3.15  
    3.16 -    /* The big type handling switch, even bigger then linux's version. */
    3.17 +    /* The big type handling switch, even bigger then Linux's version. */
    3.18      switch (src->type) {
    3.19      case SDL_HAPTIC_CONSTANT:
    3.20          hap_constant = &src->constant;