diff options
author | dholland <dholland@NetBSD.org> | 2008-02-19 10:47:40 +0000 |
---|---|---|
committer | dholland <dholland@NetBSD.org> | 2008-02-19 10:47:40 +0000 |
commit | 8897cb868f1887e7b4922ccfe33916bc7434747d (patch) | |
tree | 0261fb474fb5096ca4320962c8d35846cea0ff8d /monop | |
parent | 339a1bb42582cb9e3f1937dae87a710ddc986b93 (diff) | |
download | bsdgames-darwin-8897cb868f1887e7b4922ccfe33916bc7434747d.tar.gz bsdgames-darwin-8897cb868f1887e7b4922ccfe33916bc7434747d.tar.zst bsdgames-darwin-8897cb868f1887e7b4922ccfe33916bc7434747d.zip |
getinp() no longer magically treats the prompt arg as a printf format, so
don't escape % as %%. From OpenBSD.
Diffstat (limited to 'monop')
-rw-r--r-- | monop/spec.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/monop/spec.c b/monop/spec.c index d562bb59..692c745f 100644 --- a/monop/spec.c +++ b/monop/spec.c @@ -1,4 +1,4 @@ -/* $NetBSD: spec.c,v 1.8 2008/02/19 10:46:21 dholland Exp $ */ +/* $NetBSD: spec.c,v 1.9 2008/02/19 10:47:40 dholland Exp $ */ /* * Copyright (c) 1980, 1993 @@ -34,7 +34,7 @@ #if 0 static char sccsid[] = "@(#)spec.c 8.1 (Berkeley) 5/31/93"; #else -__RCSID("$NetBSD: spec.c,v 1.8 2008/02/19 10:46:21 dholland Exp $"); +__RCSID("$NetBSD: spec.c,v 1.9 2008/02/19 10:47:40 dholland Exp $"); #endif #endif /* not lint */ @@ -52,7 +52,7 @@ inc_tax() { int worth, com_num; - com_num = getinp("Do you wish to lose 10%% of your total worth or " + com_num = getinp("Do you wish to lose 10% of your total worth or " "$200? ", perc); worth = cur_p->money + prop_worth(cur_p); printf("You were worth $%d", worth); |