Mac: Fixed typo in two error messages.
parent
1a73b4eba2
commit
56c82bc828
|
@ -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.");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue