summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorvictor <victor@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2003-11-20 13:45:05 +0800
committervictor <victor@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2003-11-20 13:45:05 +0800
commitf15c260b2d6669d042830890f3e076384653e4ae (patch)
tree46043116c618b06ecdfa379d437b28a5c711802a
parentc9998f2f6b3770d6b6455a96f148f0b53e63c780 (diff)
downloadpttbbs-f15c260b2d6669d042830890f3e076384653e4ae.tar
pttbbs-f15c260b2d6669d042830890f3e076384653e4ae.tar.gz
pttbbs-f15c260b2d6669d042830890f3e076384653e4ae.tar.bz2
pttbbs-f15c260b2d6669d042830890f3e076384653e4ae.tar.lz
pttbbs-f15c260b2d6669d042830890f3e076384653e4ae.tar.xz
pttbbs-f15c260b2d6669d042830890f3e076384653e4ae.tar.zst
pttbbs-f15c260b2d6669d042830890f3e076384653e4ae.zip
init var "fore", "備註"->"心情"
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1353 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
-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" : "°Êº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;