From e3c99e3bd303e081e98a9a7b4852d9f0d3048c49 Mon Sep 17 00:00:00 2001 From: "Ryan C. Gordon" 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 a2c3d0a3ef..d252a2a15e 100644 --- a/src/misc/ios/SDL_sysurl.m +++ b/src/misc/ios/SDL_sysurl.m @@ -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) {}];