SDL: Fixed missing "0" in the button list

From f66f61de01e1269cd25999a584885ec563f174e8 Mon Sep 17 00:00:00 2001
From: Sam Lantinga <[EMAIL REDACTED]>
Date: Sat, 11 Nov 2023 08:30:13 -0800
Subject: [PATCH] Fixed missing "0" in the button list

---
 test/gamepadutils.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/test/gamepadutils.c b/test/gamepadutils.c
index 123224336a65..a404591a16e9 100644
--- a/test/gamepadutils.c
+++ b/test/gamepadutils.c
@@ -1710,7 +1710,7 @@ void RenderJoystickDisplay(JoystickDisplay *ctx, SDL_Joystick *joystick)
             highlight.h = (float)ctx->button_height;
             RenderJoystickButtonHighlight(ctx, i, &highlight);
 
-            SDL_snprintf(text, sizeof(text), "%2.d:", i);
+            SDL_snprintf(text, sizeof(text), "%2d:", i);
             SDLTest_DrawString(ctx->renderer, x, y, text);
 
             if (SDL_GetJoystickButton(joystick, (Uint8)i)) {