Skip to content

Commit

Permalink
Mac: Fixed typo in two error messages.
Browse files Browse the repository at this point in the history
  • Loading branch information
philippwiesemann committed Apr 11, 2015
1 parent 1a73b4e commit 56c82bc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/haptic/darwin/SDL_syshaptic.c
Expand Up @@ -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.");
}
}
}
Expand Down

0 comments on commit 56c82bc

Please sign in to comment.