aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarkus Uhlin <markus@nifty-networks.net>2024-01-04 01:44:48 +0100
committerMarkus Uhlin <markus@nifty-networks.net>2024-01-04 01:44:48 +0100
commit7caafe5a6c478229cc78178585f2f39c8a353b0c (patch)
tree76099e22d146abd349ff950aaa1fe653e4407b38
parent7fe2f2816de9c641822ae005f724ba084f62a5d9 (diff)
Fixed pprintf_prompt() calls
-rw-r--r--FICS/gameproc.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/FICS/gameproc.c b/FICS/gameproc.c
index 2050a42..cee727a 100644
--- a/FICS/gameproc.c
+++ b/FICS/gameproc.c
@@ -224,7 +224,7 @@ PUBLIC void game_ended(int g, int winner, int why)
if (!parray[p].i_game && !player_is_observe(p, g))
continue;
pprintf_noformat(p, outstr);
- pprintf_prompt(p, "");
+ pprintf_prompt(p, "%s", "");
}
}
if ((garray[g].rated) && (rate_change)) {
@@ -258,9 +258,9 @@ PUBLIC void game_ended(int g, int winner, int why)
parray[garray[g].white].opponent = -1;
parray[garray[g].black].opponent = -1;
if (garray[g].white != commanding_player)
- pprintf_prompt(garray[g].white, "");
+ pprintf_prompt(garray[g].white, "%s", "");
if (garray[g].black != commanding_player)
- pprintf_prompt(garray[g].black, "");
+ pprintf_prompt(garray[g].black, "%s", "");
if (parray[garray[g].white].simul_info.numBoards) {
player_simul_over(garray[g].white, g, whiteResult);
}
@@ -1213,7 +1213,7 @@ PUBLIC int com_takeback(int p, param_list param)
} else {
if (garray[g].numHalfMoves < nHalfMoves) {
pprintf(p, "There are only %d half moves in your game.\n", garray[g].numHalfMoves);
- pprintf_prompt(parray[p].opponent, "\n%s has declined the takeback request.\n", parray[p].name, nHalfMoves);
+ pprintf_prompt(parray[p].opponent, "\n%s has declined the takeback request.\n", parray[p].name);
return COM_OK;
}
pprintf(p, "You disagree on the number of half-moves to takeback.\n");