Author: Andreas Tille <tille@debian.org>
Last-Update: 2025-12-22
Description: This patch is needed if compiled with -Wformat-security

--- a/x/xscoreboard.cc
+++ b/x/xscoreboard.cc
@@ -145,7 +145,7 @@ void xscoreboard::render_score(int playe
     XDrawString(disp, buffer, textgc, PL_X, starty+PL_MSG_Y+scorefont->ascent,
                 buf, strlen(buf));
   } else if (game->winner()==STALEMATE) {
-    snprintf(buf, TEXTBUF_MAX, "=== DRAW: no more moves left ===", player);
+    snprintf(buf, TEXTBUF_MAX, "=== DRAW: no more moves left for player %d ===", player);
     XDrawString(disp, buffer, textgc, PL_X, starty+PL_MSG_Y+scorefont->ascent,
                 buf, strlen(buf));
   }
