summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--mbbsd/talk.c2
-rw-r--r--mbbsd/user.c4
2 files changed, 5 insertions, 1 deletions
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;