From 33e7f4723bfe1e91328bbdfa282c7ce2061f4a18 Mon Sep 17 00:00:00 2001 From: Markus Uhlin Date: Sat, 13 Apr 2024 23:56:08 +0200 Subject: Fixed format string --- FICS/board.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/FICS/board.c b/FICS/board.c index b727894..01ffc03 100644 --- a/FICS/board.c +++ b/FICS/board.c @@ -214,8 +214,9 @@ update_holding(int g, int pieceCaptured) continue; if (player_is_observe(pl, g) || parray[pl].game == g) { - pprintf_prompt(pl, (IsMachineStyle(parray[pl].style) ? - tmp1 : tmp2)); + pprintf_prompt(pl, "%s", + (IsMachineStyle(parray[pl].style) ? &tmp1[0] : + &tmp2[0])); } } } -- cgit v1.2.3