summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorPhilipp Wiesemann <philipp.wiesemann@arcor.de>2013-05-01 11:42:29 +0200
committerPhilipp Wiesemann <philipp.wiesemann@arcor.de>2013-05-01 11:42:29 +0200
commit85c137379b30bdc3e7894b06345328f97eeb99c0 (patch)
treefa7d9a914da2b8e70bf453aea455adc143efb35c /src
parent0be9414926af3cfaa285d3fcc49fe8e2fa4fcf37 (diff)
Corrected spelling in C source files.
Diffstat (limited to 'src')
-rw-r--r--src/haptic/darwin/SDL_syshaptic.c8
-rw-r--r--src/haptic/linux/SDL_syshaptic.c4
-rw-r--r--src/haptic/windows/SDL_syshaptic.c4
3 files changed, 8 insertions, 8 deletions
diff --git a/src/haptic/darwin/SDL_syshaptic.c b/src/haptic/darwin/SDL_syshaptic.c
index 1af86b8b10..a8b1d586f8 100644
--- a/src/haptic/darwin/SDL_syshaptic.c
+++ b/src/haptic/darwin/SDL_syshaptic.c
@@ -49,7 +49,7 @@ static struct
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 @@ HIDGetDeviceProduct(io_service_t dev, char *name)
}
/* 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 @@ HIDGetDeviceProduct(io_service_t dev, char *name)
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 @@ SDL_SYS_ToFFEFFECT(SDL_Haptic * haptic, FFEFFECT * dest,
}
- /* 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;
diff --git a/src/haptic/linux/SDL_syshaptic.c b/src/haptic/linux/SDL_syshaptic.c
index e07c832f92..23a373520e 100644
--- a/src/haptic/linux/SDL_syshaptic.c
+++ b/src/haptic/linux/SDL_syshaptic.c
@@ -371,7 +371,7 @@ SDL_SYS_JoystickIsHaptic(SDL_Joystick * joystick)
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 @@ SDL_SYS_ToDirection(SDL_HapticDirection * dir)
#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
diff --git a/src/haptic/windows/SDL_syshaptic.c b/src/haptic/windows/SDL_syshaptic.c
index 9446ce52a5..a41c68ea2c 100644
--- a/src/haptic/windows/SDL_syshaptic.c
+++ b/src/haptic/windows/SDL_syshaptic.c
@@ -433,7 +433,7 @@ SDL_SYS_HapticOpenFromXInput(SDL_Haptic * haptic, Uint8 userid)
* - 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 @@ SDL_SYS_ToDIEFFECT(SDL_Haptic * haptic, DIEFFECT * dest,
}
- /* 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;