mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-09-05 19:08:12 +00:00
misc: Fixed typo in iOS error message.
(cherry picked from commit 96b4535cc7
)
This commit is contained in:
@@ -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) {}];
|
||||
|
Reference in New Issue
Block a user