Explorar o código

misc: Fixed typo in iOS error message.

(cherry picked from commit 96b4535cc7c182d12648e6f423a2e24c4a4d4614)
Ryan C. Gordon hai 1 ano
pai
achega
e3c99e3bd3
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/misc/ios/SDL_sysurl.m

+ 1 - 1
src/misc/ios/SDL_sysurl.m

@@ -32,7 +32,7 @@ bool SDL_SYS_OpenURL(const char *url)
         NSString *nsstr = [NSString stringWithUTF8String:url];
         NSURL *nsurl = [NSURL URLWithString:nsstr];
         if (![[UIApplication sharedApplication] canOpenURL:nsurl]) {
-            return SDL_SetError("No handler registerd for this type of URL");
+            return SDL_SetError("No handler registered for this type of URL");
         }
         if (@available(iOS 10.0, tvOS 10.0, *)) {
             [[UIApplication sharedApplication] openURL:nsurl options:@{} completionHandler:^(BOOL success) {}];