Mac: Fixed typo in two error messages.

main
Philipp Wiesemann 2015-04-11 20:41:49 +02:00
parent 1a73b4eba2
commit 56c82bc828
1 changed files with 2 additions and 2 deletions

View File

@ -262,13 +262,13 @@ MacHaptic_MaybeAddDevice( io_object_t device )
CFSTR(kIOHIDPrimaryUsagePageKey)); CFSTR(kIOHIDPrimaryUsagePageKey));
if (refCF) { if (refCF) {
if (!CFNumberGetValue(refCF, kCFNumberLongType, &item->usagePage)) { 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, refCF = CFDictionaryGetValue(hidProperties,
CFSTR(kIOHIDPrimaryUsageKey)); CFSTR(kIOHIDPrimaryUsageKey));
if (refCF) { if (refCF) {
if (!CFNumberGetValue(refCF, kCFNumberLongType, &item->usage)) { if (!CFNumberGetValue(refCF, kCFNumberLongType, &item->usage)) {
SDL_SetError("Haptic: Recieving device's usage."); SDL_SetError("Haptic: Receiving device's usage.");
} }
} }
} }