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 1413bfb185
commit e3c99e3bd3
No known key found for this signature in database
GPG key ID: FA148B892AB48044

View file

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