From c5094206ce6ff1a557540ed6e0d8505bc6db0031 Mon Sep 17 00:00:00 2001 From: stepshal Date: Sun, 26 Jun 2016 01:07:38 +0700 Subject: Fix misspellings --- osdep/ar/HIDRemote.h | 4 ++-- osdep/ar/HIDRemote.m | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) (limited to 'osdep') diff --git a/osdep/ar/HIDRemote.h b/osdep/ar/HIDRemote.h index 9ea01d1fc2..35db408b40 100644 --- a/osdep/ar/HIDRemote.h +++ b/osdep/ar/HIDRemote.h @@ -74,7 +74,7 @@ typedef enum { kHIDRemoteModeNone = 0L, - kHIDRemoteModeShared, // Share the remote with others - let's you listen to the remote control events as long as noone has an exclusive lock on it + kHIDRemoteModeShared, // Share the remote with others - let's you listen to the remote control events as long as no one has an exclusive lock on it // (RECOMMENDED ONLY FOR SPECIAL PURPOSES) kHIDRemoteModeExclusive, // Try to acquire an exclusive lock on the remote (NOT RECOMMENDED) @@ -182,7 +182,7 @@ typedef enum - (BOOL)hidRemote:(HIDRemote *)hidRemote // Invoked when new hardware is inspected inspectNewHardwareWithService:(io_service_t)service // prematchResult:(BOOL)prematchResult; // Return YES if HIDRemote should go on with this hardware and try - // to use it, or NO if it should not be persued further. + // to use it, or NO if it should not be pursued further. // Exlusive lock lending - (BOOL)hidRemote:(HIDRemote *)hidRemote diff --git a/osdep/ar/HIDRemote.m b/osdep/ar/HIDRemote.m index f62289e23c..47e35f46fd 100644 --- a/osdep/ar/HIDRemote.m +++ b/osdep/ar/HIDRemote.m @@ -293,7 +293,7 @@ static HIDRemote *sHIDRemote = nil; }while(0); - // An error occured. Do necessary clean up. + // An error occurred. Do necessary clean up. if (matchDict!=NULL) { CFRelease(matchDict); @@ -1422,7 +1422,7 @@ static HIDRemote *sHIDRemote = nil; [((NSObject *)[self delegate]) hidRemote:self failedNewHardwareWithError:error]; } - // An error occured or this device is not of interest .. cleanup .. + // An error occurred or this device is not of interest .. cleanup .. if (serviceNotification!=0) { IOObjectRelease(serviceNotification); @@ -1615,7 +1615,7 @@ static HIDRemote *sHIDRemote = nil; switch (buttonCode) { case kHIDRemoteButtonCodeIDChanged: - // Do nothing, this is handled seperately + // Do nothing, this is handled separately break; case kHIDRemoteButtonCodeUp: -- cgit v1.2.3