summaryrefslogtreecommitdiffstats
path: root/osdep
diff options
context:
space:
mode:
authorstepshal <nessento@openmailbox.org>2016-06-26 01:07:38 +0700
committerwm4 <wm4@nowhere>2016-06-26 13:47:21 +0200
commitc5094206ce6ff1a557540ed6e0d8505bc6db0031 (patch)
treeed356399c9607973a0f5590a65c67bba132c87a9 /osdep
parent24478a8a72b17d54346fb8d648e53448c3819e9d (diff)
downloadmpv-c5094206ce6ff1a557540ed6e0d8505bc6db0031.tar.bz2
mpv-c5094206ce6ff1a557540ed6e0d8505bc6db0031.tar.xz
Fix misspellings
Diffstat (limited to 'osdep')
-rw-r--r--osdep/ar/HIDRemote.h4
-rw-r--r--osdep/ar/HIDRemote.m6
2 files changed, 5 insertions, 5 deletions
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 <HIDRemoteDelegate> *)[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: