From 847f828e7fc6306e3055912b035e13a9c17fdd2d Mon Sep 17 00:00:00 2001
From: "Ryan C. Gordon" <[EMAIL REDACTED]>
Date: Thu, 26 Dec 2024 23:36:28 -0500
Subject: [PATCH] misc: Fixed typo in iOS error message.
(cherry picked from commit 96b4535cc7c182d12648e6f423a2e24c4a4d4614)
---
src/misc/ios/SDL_sysurl.m | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/misc/ios/SDL_sysurl.m b/src/misc/ios/SDL_sysurl.m
index f8020585081cb..f620938341192 100644
--- a/src/misc/ios/SDL_sysurl.m
+++ b/src/misc/ios/SDL_sysurl.m
@@ -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) {}];