diff options
author | Markus Uhlin <markus@nifty-networks.net> | 2024-04-13 23:56:08 +0200 |
---|---|---|
committer | Markus Uhlin <markus@nifty-networks.net> | 2024-04-13 23:56:08 +0200 |
commit | 33e7f4723bfe1e91328bbdfa282c7ce2061f4a18 (patch) | |
tree | 5646af9cf5b7db8f1f006f53c57c61d8f5971a0c | |
parent | 815f55103cadb3ac8d0dc78155605f1723f30c84 (diff) |
Fixed format string
-rw-r--r-- | FICS/board.c | 5 |
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])); } } } |