Commit 56c82bc8280ab6dc1ae0bcd4baf952d28a0429cd

Philipp Wiesemann 2015-04-11T20:41:49

Mac: Fixed typo in two error messages.

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
diff --git a/src/haptic/darwin/SDL_syshaptic.c b/src/haptic/darwin/SDL_syshaptic.c
index a74f008..1516d5d 100644
--- a/src/haptic/darwin/SDL_syshaptic.c
+++ b/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.");
                 }
             }
         }