aboutsummaryrefslogtreecommitdiffstats
path: root/FICS/board.c
diff options
context:
space:
mode:
authorMarkus Uhlin <markus@nifty-networks.net>2024-04-13 23:56:08 +0200
committerMarkus Uhlin <markus@nifty-networks.net>2024-04-13 23:56:08 +0200
commit33e7f4723bfe1e91328bbdfa282c7ce2061f4a18 (patch)
tree5646af9cf5b7db8f1f006f53c57c61d8f5971a0c /FICS/board.c
parent815f55103cadb3ac8d0dc78155605f1723f30c84 (diff)
Fixed format string
Diffstat (limited to 'FICS/board.c')
-rw-r--r--FICS/board.c5
1 files 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]));
}
}
}