From f15c260b2d6669d042830890f3e076384653e4ae Mon Sep 17 00:00:00 2001 From: victor Date: Thu, 20 Nov 2003 05:45:05 +0000 Subject: =?UTF-8?q?init=20var=20"fore",=20"=E5=82=99=E8=A8=BB"->"=E5=BF=83?= =?UTF-8?q?=E6=83=85"?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1353 63ad8ddf-47c3-0310-b6dd-a9e9d9715204 --- mbbsd/talk.c | 2 +- mbbsd/user.c | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/mbbsd/talk.c b/mbbsd/talk.c index 80107ec2..3116c7aa 100644 --- a/mbbsd/talk.c +++ b/mbbsd/talk.c @@ -1710,7 +1710,7 @@ draw_pickup(int drawall, pickup_t * pickup, int pickup_way, "暱稱", MODE_STRING[show_mode], show_board ? "Board" : "動態", - show_pid ? " PID" : "備註 發呆" + show_pid ? " PID" : "心情 發呆" ); move(b_lines, 0); outs("\033[31;47m(TAB/f)\033[30m排序/好友 \033[31m(t)\033[30m聊天 " diff --git a/mbbsd/user.c b/mbbsd/user.c index 6f7e1db6..323d0939 100644 --- a/mbbsd/user.c +++ b/mbbsd/user.c @@ -1153,7 +1153,9 @@ int u_register(void) { char rname[21], addr[51], ident[12], mobile[21]; +#ifdef FOREIGN_REG char fore[2]; +#endif char phone[21], career[41], email[51], birthday[9], sex_is[2], year, mon, day; char inregcode[14], regcode[50]; @@ -1265,6 +1267,8 @@ u_register(void) prints("%s(%s) 您好,請據實填寫以下的資料:", cuser.userid, cuser.username); #ifdef FOREIGN_REG + fore[0] = 'y'; + fore[1] = 0; getfield(2, "Y/n", "是否為本國籍?", fore, 2); if (fore[0] == 'n') fore[0] |= FOREIGN; -- cgit v1.2.3