mirror of
https://github.com/Relintai/sdl2_frt.git
synced 2025-01-31 00:09:19 +01:00
Mac: Fixed typo in two error messages.
This commit is contained in:
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
Block a user