summaryrefslogtreecommitdiffstats
path: root/mbbsd/user.c
diff options
context:
space:
mode:
authorvictor <victor@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2005-02-19 15:03:05 +0800
committervictor <victor@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2005-02-19 15:03:05 +0800
commitd3a0349e9b0a732446bd950110629a152afca131 (patch)
treed0c962cf8640142e341e091ce284cb23d3ef772e /mbbsd/user.c
parent3eca44299c5f563a225c47944e1fb53c4ad1a8d6 (diff)
downloadpttbbs-d3a0349e9b0a732446bd950110629a152afca131.tar
pttbbs-d3a0349e9b0a732446bd950110629a152afca131.tar.gz
pttbbs-d3a0349e9b0a732446bd950110629a152afca131.tar.bz2
pttbbs-d3a0349e9b0a732446bd950110629a152afca131.tar.lz
pttbbs-d3a0349e9b0a732446bd950110629a152afca131.tar.xz
pttbbs-d3a0349e9b0a732446bd950110629a152afca131.tar.zst
pttbbs-d3a0349e9b0a732446bd950110629a152afca131.zip
s/#ifdef/#if/
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2523 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'mbbsd/user.c')
-rw-r--r--mbbsd/user.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/mbbsd/user.c b/mbbsd/user.c
index 6b0cd115..b39ea63f 100644
--- a/mbbsd/user.c
+++ b/mbbsd/user.c
@@ -71,7 +71,7 @@ user_display(userec_t * u, int real)
" \033[m \033[30;41m┴┬┴┬┴┬\033[m\n");
prints(" 代號暱稱: %s(%s)\n"
" 真實姓名: %s"
-#ifdef FOREIGN_REG_DAY > 0
+#if FOREIGN_REG_DAY > 0
" %s%s"
#elif defined(FOREIGN_REG)
" %s"
@@ -82,7 +82,7 @@ user_display(userec_t * u, int real)
" 性 別: %s\n"
" 銀行帳戶: %d 銀兩\n",
u->userid, u->username, u->realname,
-#ifdef FOREIGN_REG_DAY > 0
+#if FOREIGN_REG_DAY > 0
u->uflag2 & FOREIGN ? "(外籍: " : "",
u->uflag2 & FOREIGN ?
(u->uflag2 & LIVERIGHT) ? "永久居留)" : "未取得居留權)"
@@ -1433,7 +1433,7 @@ u_register(void)
exit(0);
}
mail_muser(cuser, "[註冊成功\囉]", "etc/registeredmail");
-#ifdef FOREIGN_REG_DAY > 0
+#if FOREIGN_REG_DAY > 0
if(cuser.uflag2 & FOREIGN)
mail_muser(cuser, "[出入境管理局]", "etc/foreign_welcome");
#endif