Skip to content
Permalink
Browse files

Mac: Fixed typo in two error messages.

  • Loading branch information
philippwiesemann committed Apr 11, 2015
1 parent 1a73b4e commit 56c82bc8280ab6dc1ae0bcd4baf952d28a0429cd
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/haptic/darwin/SDL_syshaptic.c
@@ -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.");
}
}
}

0 comments on commit 56c82bc

Please sign in to comment.