瀏覽代碼

misc: Fixed typo in iOS error message.

(cherry picked from commit 96b4535cc7c182d12648e6f423a2e24c4a4d4614)
Ryan C. Gordon 7 月之前
父節點
當前提交
847f828e7f
共有 1 個文件被更改,包括 1 次插入1 次删除
  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) {}];