소스 검색

misc: Fixed typo in iOS error message.

(cherry picked from commit 96b4535cc7c182d12648e6f423a2e24c4a4d4614)
Ryan C. Gordon 1 년 전
부모
커밋
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];
         NSString *nsstr = [NSString stringWithUTF8String:url];
         NSURL *nsurl = [NSURL URLWithString:nsstr];
         NSURL *nsurl = [NSURL URLWithString:nsstr];
         if (![[UIApplication sharedApplication] canOpenURL:nsurl]) {
         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, *)) {
         if (@available(iOS 10.0, tvOS 10.0, *)) {
             [[UIApplication sharedApplication] openURL:nsurl options:@{} completionHandler:^(BOOL success) {}];
             [[UIApplication sharedApplication] openURL:nsurl options:@{} completionHandler:^(BOOL success) {}];