aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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]));
}
}
}