SDL: Fix build with -DX11MODES_DEBUG in CPPFLAGS

From ba5b1f2fd2e68fd0d0c3ab1910504528ba916bc7 Mon Sep 17 00:00:00 2001
From: Anonymous Maarten <[EMAIL REDACTED]>
Date: Sat, 25 Feb 2023 00:37:02 +0100
Subject: [PATCH] Fix build with -DX11MODES_DEBUG in CPPFLAGS

---
 src/video/x11/SDL_x11modes.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/video/x11/SDL_x11modes.c b/src/video/x11/SDL_x11modes.c
index 245f6a512c97..7760c6a3b191 100644
--- a/src/video/x11/SDL_x11modes.c
+++ b/src/video/x11/SDL_x11modes.c
@@ -226,7 +226,7 @@ static SDL_bool SetXRandRModeInfo(Display *display, XRRScreenResources *res, RRC
             mode->refresh_rate = CalculateXRandRRefreshRate(info);
             ((SDL_DisplayModeData *)mode->driverdata)->xrandr_mode = modeID;
 #ifdef X11MODES_DEBUG
-            printf("XRandR mode %d: %dx%d@%dHz\n", (int)modeID,
+            printf("XRandR mode %d: %dx%d@%gHz\n", (int)modeID,
                    mode->screen_w, mode->screen_h, mode->refresh_rate);
 #endif
             return SDL_TRUE;