SDL_rtf: Updated for SDL3 change to use SDL_bool instead of int return code

From d723c6a9a7b50966e469bc1d03344ab3ca6c563c Mon Sep 17 00:00:00 2001
From: Sam Lantinga <[EMAIL REDACTED]>
Date: Tue, 27 Aug 2024 12:21:16 -0700
Subject: [PATCH] Updated for SDL3 change to use SDL_bool instead of int return
 code

---
 examples/showrtf.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/examples/showrtf.c b/examples/showrtf.c
index 1b3694d..e4c7edb 100644
--- a/examples/showrtf.c
+++ b/examples/showrtf.c
@@ -223,7 +223,7 @@ int main(int argc, char *argv[])
         return(3);
     }
 
-    if (SDL_CreateWindowAndRenderer("showrtf demo", SCREEN_WIDTH, SCREEN_HEIGHT, SDL_WINDOW_RESIZABLE, &window, &renderer) < 0) {
+    if (!SDL_CreateWindowAndRenderer("showrtf demo", SCREEN_WIDTH, SCREEN_HEIGHT, SDL_WINDOW_RESIZABLE, &window, &renderer)) {
         SDL_LogError(SDL_LOG_CATEGORY_APPLICATION, "SDL_CreateWindowAndRenderer() failed: %s\n", SDL_GetError());
         cleanup();
         return(4);