aboutsummaryrefslogtreecommitdiffstats
path: root/FICS/board.c
diff options
context:
space:
mode:
Diffstat (limited to 'FICS/board.c')
-rw-r--r--FICS/board.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/FICS/board.c b/FICS/board.c
index b3ad95a..c984033 100644
--- a/FICS/board.c
+++ b/FICS/board.c
@@ -25,6 +25,8 @@
Markus Uhlin 23/12/28 Replaced rand() calls
Markus Uhlin 24/03/23 Replaced unbounded string
handling functions.
+ Markus Uhlin 24/03/24 Fixed format strings that
+ weren't string literals.
*/
#include "stdinclude.h"
@@ -216,8 +218,8 @@ 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 : tmp2));
}
}
}