mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-06-04 10:57:40 +00:00
misc: Fixed typo in iOS error message.
(cherry picked from commit 96b4535cc7
)
This commit is contained in:
parent
1413bfb185
commit
e3c99e3bd3
1 changed files with 1 additions and 1 deletions
|
@ -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) {}];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue