summaryrefslogtreecommitdiffstats
path: root/mbbsd
diff options
context:
space:
mode:
authorpiaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2009-08-24 00:14:06 +0800
committerpiaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2009-08-24 00:14:06 +0800
commit867a8c0fc0075e0ff07a143b9e58d9a6591b080f (patch)
treec09f3df7b731b0545eda28ba36ffa48ac13d0d19 /mbbsd
parentd9a6b23c1a49bdb5997edaeea19534452ce9a73c (diff)
downloadpttbbs-867a8c0fc0075e0ff07a143b9e58d9a6591b080f.tar
pttbbs-867a8c0fc0075e0ff07a143b9e58d9a6591b080f.tar.gz
pttbbs-867a8c0fc0075e0ff07a143b9e58d9a6591b080f.tar.bz2
pttbbs-867a8c0fc0075e0ff07a143b9e58d9a6591b080f.tar.lz
pttbbs-867a8c0fc0075e0ff07a143b9e58d9a6591b080f.tar.xz
pttbbs-867a8c0fc0075e0ff07a143b9e58d9a6591b080f.tar.zst
pttbbs-867a8c0fc0075e0ff07a143b9e58d9a6591b080f.zip
* remove foreign query pre-input because some people may have problem using DEL/BS.
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4765 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'mbbsd')
-rw-r--r--mbbsd/register.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/mbbsd/register.c b/mbbsd/register.c
index 5b278584..8554c1e9 100644
--- a/mbbsd/register.c
+++ b/mbbsd/register.c
@@ -1449,10 +1449,10 @@ u_register(void)
prints("%s(%s) 您好,請據實填寫以下的資料:",
cuser.userid, cuser.nickname);
#ifdef FOREIGN_REG
- fore[0] = 'y';
+ fore[0] = 0;
fore[1] = 0;
getfield(2, "Y/n", REGNOTES_ROOT "foreign", "是否現在住在台灣", fore, 2);
- if (fore[0] == 'n')
+ if (fore[0] == 'n' || fore[0] == 'N')
fore[0] |= FOREIGN;
else
fore[0] = 0;