diff options
| author | Jeroen Ruigrok van der Werven <asmodai@FreeBSD.org> | 2000-10-08 11:05:12 +0000 |
|---|---|---|
| committer | Jeroen Ruigrok van der Werven <asmodai@FreeBSD.org> | 2000-10-08 11:05:12 +0000 |
| commit | c641a67b4fb6bf80da19d39c0ad2643affe0be3e (patch) | |
| tree | 90a3349c008285a250868143127ba1e90e596a17 /games | |
| parent | b781696864c4424ca58f227dd784b82e8f06f5d4 (diff) | |
Notes
Diffstat (limited to 'games')
| -rw-r--r-- | games/cribbage/io.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/games/cribbage/io.c b/games/cribbage/io.c index 9384354dc1c5..b6562d7f00b3 100644 --- a/games/cribbage/io.c +++ b/games/cribbage/io.c @@ -111,7 +111,7 @@ msgcrd(c, brfrank, mid, brfsuit) else addmsg(rankname[c.rank]); if (mid != NULL) - addmsg(mid); + addmsg("%s", mid); if (brfsuit) addmsg("%1.1s", suitchar[c.suit]); else @@ -198,7 +198,7 @@ infrom(hand, n, prompt) exit(74); } for (;;) { - msg(prompt); + msg("%s", prompt); if (incard(&crd)) { /* if card is full card */ if (!isone(crd, hand, n)) msg("That's not in your hand"); @@ -351,7 +351,7 @@ number(lo, hi, prompt) int sum; for (sum = 0;;) { - msg(prompt); + msg("%s", prompt); if (!(p = getline()) || *p == '\0') { msg(quiet ? "Not a number" : "That doesn't look like a number"); |
