SDL_ttf: Fix warning return type should be SDL_bool

From 393fdc91e6827905b75a6b267851c03f35914eab Mon Sep 17 00:00:00 2001
From: Sylvain <[EMAIL REDACTED]>
Date: Thu, 7 Oct 2021 10:53:48 +0200
Subject: [PATCH] Fix warning return type should be SDL_bool

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

diff --git a/SDL_ttf.c b/SDL_ttf.c
index 3e3114a..dc456bb 100644
--- a/SDL_ttf.c
+++ b/SDL_ttf.c
@@ -3679,7 +3679,7 @@ int TTF_SetFontSDF(TTF_Font *font, SDL_bool on_off)
 
 SDL_bool TTF_GetFontSDF(const TTF_Font *font)
 {
-    TTF_CHECK_POINTER(font, -1);
+    TTF_CHECK_POINTER(font, SDL_FALSE);
     return font->render_sdf;
 }