SDL: Fixed build (cbf90)

From cbf9012c74c2e2babd3c48386dc42e3e4384337d Mon Sep 17 00:00:00 2001
From: Sam Lantinga <[EMAIL REDACTED]>
Date: Fri, 15 Dec 2023 10:03:11 -0800
Subject: [PATCH] Fixed build

---
 test/testcustomcursor.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/test/testcustomcursor.c b/test/testcustomcursor.c
index bd91e843132e..cbaaa06d37da 100644
--- a/test/testcustomcursor.c
+++ b/test/testcustomcursor.c
@@ -395,7 +395,7 @@ int main(int argc, char *argv[])
     }
 
     for (i = 0; i < SDL_NUM_SYSTEM_CURSORS; ++i) {
-        SDL_Cursor *cursor = SDL_CreateSystemCursor((SDL_SystemCursor)i);
+        cursor = SDL_CreateSystemCursor((SDL_SystemCursor)i);
         if (cursor) {
             cursors[num_cursors] = cursor;
             cursor_types[num_cursors] = i;