summaryrefslogtreecommitdiffstats
path: root/mbbsd/user.c
diff options
context:
space:
mode:
authorpiaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2008-04-19 10:15:26 +0800
committerpiaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2008-04-19 10:15:26 +0800
commita96135fe6dd80a66d618b922827794225e4f23d0 (patch)
tree102520522b476403b6a720327541e4beae94f509 /mbbsd/user.c
parent079854fba142e7c5d52293c88e9fba8aa51dfa0c (diff)
downloadpttbbs-a96135fe6dd80a66d618b922827794225e4f23d0.tar
pttbbs-a96135fe6dd80a66d618b922827794225e4f23d0.tar.gz
pttbbs-a96135fe6dd80a66d618b922827794225e4f23d0.tar.bz2
pttbbs-a96135fe6dd80a66d618b922827794225e4f23d0.tar.lz
pttbbs-a96135fe6dd80a66d618b922827794225e4f23d0.tar.xz
pttbbs-a96135fe6dd80a66d618b922827794225e4f23d0.tar.zst
pttbbs-a96135fe6dd80a66d618b922827794225e4f23d0.zip
- fix LCECHO issue (cannot input chinese in some places)
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4198 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'mbbsd/user.c')
-rw-r--r--mbbsd/user.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/mbbsd/user.c b/mbbsd/user.c
index 8d8474f7..035f2fcc 100644
--- a/mbbsd/user.c
+++ b/mbbsd/user.c
@@ -653,12 +653,12 @@ uinfo_query(userec_t *u, int adminmode, int unum)
buf[0] = 0;
if (x.mobile)
snprintf(buf, sizeof(buf), "%010d", x.mobile);
- getdata_buf(y++, 0, "手機號碼:", buf, 11, LCECHO);
+ getdata_buf(y++, 0, "手機號碼:", buf, 11, NUMECHO);
x.mobile = atoi(buf);
snprintf(genbuf, sizeof(genbuf), "%d", (u->sex + 1) % 8);
getdata_str(y++, 0, "性別 (1)葛格 (2)姐接 (3)底迪 (4)美眉 (5)薯叔 "
"(6)阿姨 (7)植物 (8)礦物:",
- buf, 3, DOECHO, genbuf);
+ buf, 3, NUMECHO, genbuf);
if (buf[0] >= '1' && buf[0] <= '8')
x.sex = (buf[0] - '1') % 8;
else