From f15c260b2d6669d042830890f3e076384653e4ae Mon Sep 17 00:00:00 2001 From: victor Date: Thu, 20 Nov 2003 05:45:05 +0000 Subject: init var "fore", "備註"->"心情" 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" : "°ÊºA", - show_pid ? " PID" : "³Æµù µo§b" + show_pid ? " PID" : "¤ß±¡ µo§b" ); move(b_lines, 0); outs("\033[31;47m(TAB/f)\033[30m±Æ§Ç/¦n¤Í \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) ±z¦n¡A½Ð¾Ú¹ê¶ñ¼g¥H¤Uªº¸ê®Æ:", cuser.userid, cuser.username); #ifdef FOREIGN_REG + fore[0] = 'y'; + fore[1] = 0; getfield(2, "Y/n", "¬O§_¬°¥»°êÄy¡H", fore, 2); if (fore[0] == 'n') fore[0] |= FOREIGN; -- cgit