SDL: Fixed build (94e94)

From 94e945ccff6f459d7412a276e3124d55ad70d2f9 Mon Sep 17 00:00:00 2001
From: Sam Lantinga <[EMAIL REDACTED]>
Date: Wed, 2 Aug 2023 01:37:05 -0700
Subject: [PATCH] Fixed build

(cherry picked from commit ebf2c49b505b67838f8fb00c0b2ed0ce03856f38)
---
 src/video/uikit/SDL_uikitview.m           | 8 ++++----
 src/video/uikit/SDL_uikitviewcontroller.m | 4 ++--
 2 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/src/video/uikit/SDL_uikitview.m b/src/video/uikit/SDL_uikitview.m
index dab0e54cdf07..b9c3326144fe 100644
--- a/src/video/uikit/SDL_uikitview.m
+++ b/src/video/uikit/SDL_uikitview.m
@@ -412,7 +412,7 @@ - (void)pressesBegan:(NSSet<UIPress *> *)presses withEvent:(UIPressesEvent *)eve
             SDL_SendKeyboardKey(SDL_PRESSED, scancode);
         }
     }
-    if (SDL_TextInputActive()) {
+    if (SDL_IsTextInputActive()) {
         [super pressesBegan:presses withEvent:event];
     }
 }
@@ -425,7 +425,7 @@ - (void)pressesEnded:(NSSet<UIPress *> *)presses withEvent:(UIPressesEvent *)eve
             SDL_SendKeyboardKey(SDL_RELEASED, scancode);
         }
     }
-    if (SDL_TextInputActive()) {
+    if (SDL_IsTextInputActive()) {
         [super pressesEnded:presses withEvent:event];
     }
 }
@@ -438,7 +438,7 @@ - (void)pressesCancelled:(NSSet<UIPress *> *)presses withEvent:(UIPressesEvent *
             SDL_SendKeyboardKey(SDL_RELEASED, scancode);
         }
     }
-    if (SDL_TextInputActive()) {
+    if (SDL_IsTextInputActive()) {
         [super pressesCancelled:presses withEvent:event];
     }
 }
@@ -446,7 +446,7 @@ - (void)pressesCancelled:(NSSet<UIPress *> *)presses withEvent:(UIPressesEvent *
 - (void)pressesChanged:(NSSet<UIPress *> *)presses withEvent:(UIPressesEvent *)event
 {
     /* This is only called when the force of a press changes. */
-    if (SDL_TextInputActive()) {
+    if (SDL_IsTextInputActive()) {
         [super pressesChanged:presses withEvent:event];
     }
 }
diff --git a/src/video/uikit/SDL_uikitviewcontroller.m b/src/video/uikit/SDL_uikitviewcontroller.m
index ba49d6c149e2..b9ccf6b0f12d 100644
--- a/src/video/uikit/SDL_uikitviewcontroller.m
+++ b/src/video/uikit/SDL_uikitviewcontroller.m
@@ -405,7 +405,7 @@ - (void)keyboardWillShow:(NSNotification *)notification
 {
     BOOL shouldStartTextInput = NO;
 
-    if (!SDL_TextInputActive() && !hidingKeyboard && !rotatingOrientation) {
+    if (!SDL_IsTextInputActive() && !hidingKeyboard && !rotatingOrientation) {
         shouldStartTextInput = YES;
     }
 
@@ -434,7 +434,7 @@ - (void)keyboardWillHide:(NSNotification *)notification
 {
     BOOL shouldStopTextInput = NO;
 
-    if (SDL_TextInputActive() && !showingKeyboard && !rotatingOrientation) {
+    if (SDL_IsTextInputActive() && !showingKeyboard && !rotatingOrientation) {
         shouldStopTextInput = YES;
     }