SDL_helloworld: Use enum constant instead of magic number for return value

https://github.com/libsdl-org/SDL_helloworld/commit/532ee27b4d508407839492aa042a45b4a3dc4a11

From 532ee27b4d508407839492aa042a45b4a3dc4a11 Mon Sep 17 00:00:00 2001
From: invalidpagefault <[EMAIL REDACTED]>
Date: Sun, 12 Jan 2025 18:40:45 +0100
Subject: [PATCH] Use enum constant instead of magic number for return value

---
 main.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/main.c b/main.c
index 8da6f76..b6e32b1 100644
--- a/main.c
+++ b/main.c
@@ -39,7 +39,7 @@ SDL_AppResult SDL_AppEvent(void *appstate, SDL_Event *event)
 
         case SDL_EVENT_KEY_DOWN:  /* quit if user hits ESC key */
             if (event->key.scancode == SDL_SCANCODE_ESCAPE) {
-                return 1;
+                return SDL_APP_SUCCESS;
             }
             break;