misc: Fixed typo in iOS error message.

(cherry picked from commit 96b4535cc7)
This commit is contained in:
Ryan C. Gordon
2024-12-26 23:36:28 -05:00
parent ec0ba62326
commit 847f828e7f

View File

@@ -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) {}];