Mac: Fixed typo in two error messages.

This commit is contained in:
Philipp Wiesemann 2015-04-11 20:41:49 +02:00
parent 64accce776
commit 91a602526b

View file

@ -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.");
}
}
}