Browse Source

misc: Fixed typo in iOS error message.

(cherry picked from commit 96b4535cc7c182d12648e6f423a2e24c4a4d4614)
Ryan C. Gordon 3 months ago
parent
commit
847f828e7f
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/misc/ios/SDL_sysurl.m

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

@@ -29,7 +29,7 @@ int 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) {}];