summaryrefslogtreecommitdiffstats
path: root/mbbsd/cal.c
diff options
context:
space:
mode:
authorpiaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2008-04-18 21:53:35 +0800
committerpiaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2008-04-18 21:53:35 +0800
commit3b2a0f97f170bb93fa5fdcf9ebfc55470c38a4c1 (patch)
tree70b8b90054007e8a258cc4a680b35b63f5fa13b3 /mbbsd/cal.c
parent763ab3a9a3690e3a262dd46335d68388f9389597 (diff)
downloadpttbbs-3b2a0f97f170bb93fa5fdcf9ebfc55470c38a4c1.tar
pttbbs-3b2a0f97f170bb93fa5fdcf9ebfc55470c38a4c1.tar.gz
pttbbs-3b2a0f97f170bb93fa5fdcf9ebfc55470c38a4c1.tar.bz2
pttbbs-3b2a0f97f170bb93fa5fdcf9ebfc55470c38a4c1.tar.lz
pttbbs-3b2a0f97f170bb93fa5fdcf9ebfc55470c38a4c1.tar.xz
pttbbs-3b2a0f97f170bb93fa5fdcf9ebfc55470c38a4c1.tar.zst
pttbbs-3b2a0f97f170bb93fa5fdcf9ebfc55470c38a4c1.zip
- fix wrong LCECHO
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4191 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'mbbsd/cal.c')
-rw-r--r--mbbsd/cal.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/mbbsd/cal.c b/mbbsd/cal.c
index a3b259bc..ca83d7fd 100644
--- a/mbbsd/cal.c
+++ b/mbbsd/cal.c
@@ -313,7 +313,7 @@ p_exmail(void)
// no need to create default prompt.
// and people usually come this this by accident...
- getdata(b_lines - 2, 0, buf, ans, sizeof(ans), LCECHO);
+ getdata(b_lines - 2, 0, buf, ans, sizeof(ans), NUMECHO);
n = atoi(ans);
if (!ans[0] || n<=0)
@@ -439,7 +439,7 @@ give_money_ui(const char *userid)
vmsg("交易取消!");
return -1;
}
- if (!getdata(2, 0, "要給他多少錢呢: ", money_buf, 7, LCECHO) ||
+ if (!getdata(2, 0, "要給他多少錢呢: ", money_buf, 7, NUMECHO) ||
((m = atoi(money_buf)) <= 0))
{
vmsg("交易取消!");