Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Mac: Fixed typo in two error messages.
- Loading branch information
Showing
with
2 additions
and
2 deletions.
-
+2
−2
src/haptic/darwin/SDL_syshaptic.c
|
@@ -262,13 +262,13 @@ MacHaptic_MaybeAddDevice( io_object_t device ) |
|
|
CFSTR(kIOHIDPrimaryUsagePageKey)); |
|
|
if (refCF) { |
|
|
if (!CFNumberGetValue(refCF, kCFNumberLongType, &item->usagePage)) { |
|
|
SDL_SetError("Haptic: Recieving device's usage page."); |
|
|
SDL_SetError("Haptic: Receiving device's usage page."); |
|
|
} |
|
|
refCF = CFDictionaryGetValue(hidProperties, |
|
|
CFSTR(kIOHIDPrimaryUsageKey)); |
|
|
if (refCF) { |
|
|
if (!CFNumberGetValue(refCF, kCFNumberLongType, &item->usage)) { |
|
|
SDL_SetError("Haptic: Recieving device's usage."); |
|
|
SDL_SetError("Haptic: Receiving device's usage."); |
|
|
} |
|
|
} |
|
|
} |
|
|