SDL_rtf: Fix variable 'TTF_style' set but not used [-Werror,-Wunused-but-set-variable]

From 1ff249756f78e69309c0822d70d85a03b28ced41 Mon Sep 17 00:00:00 2001
From: Anonymous Maarten <[EMAIL REDACTED]>
Date: Mon, 15 Jan 2024 18:55:31 +0100
Subject: [PATCH] Fix variable 'TTF_style' set but not used
 [-Werror,-Wunused-but-set-variable]

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

diff --git a/examples/showrtf.c b/examples/showrtf.c
index 4e9cd63..1dbaf58 100644
--- a/examples/showrtf.c
+++ b/examples/showrtf.c
@@ -99,7 +99,7 @@ static void * SDLCALL CreateFont(const char *name, RTF_FontFamily family, int ch
             TTF_style |= TTF_STYLE_ITALIC;
         if ( style & RTF_FontUnderline )
             TTF_style |= TTF_STYLE_UNDERLINE;
-        TTF_SetFontStyle(font, style);
+        TTF_SetFontStyle(font, TTF_style);
     }
 
     /* FIXME: What do we do with the character set? */