summaryrefslogtreecommitdiffstats
path: root/mbbsd/user.c
diff options
context:
space:
mode:
authorpiaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2008-04-22 09:47:15 +0800
committerpiaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2008-04-22 09:47:15 +0800
commit447da5c6fbcf2ab072d915077da0a066300577bf (patch)
tree0c5732f1cd7cfacf316b39ea3a23b025bdf87e05 /mbbsd/user.c
parent7bf81de5f0316b35c6437079cc226935f28323d5 (diff)
downloadpttbbs-447da5c6fbcf2ab072d915077da0a066300577bf.tar
pttbbs-447da5c6fbcf2ab072d915077da0a066300577bf.tar.gz
pttbbs-447da5c6fbcf2ab072d915077da0a066300577bf.tar.bz2
pttbbs-447da5c6fbcf2ab072d915077da0a066300577bf.tar.lz
pttbbs-447da5c6fbcf2ab072d915077da0a066300577bf.tar.xz
pttbbs-447da5c6fbcf2ab072d915077da0a066300577bf.tar.zst
pttbbs-447da5c6fbcf2ab072d915077da0a066300577bf.zip
- code refine: use ANSI_REVERSE to replace ANSI_COLOR(7), more meaningful.
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4229 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'mbbsd/user.c')
-rw-r--r--mbbsd/user.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/mbbsd/user.c b/mbbsd/user.c
index f26c99db..420a49a4 100644
--- a/mbbsd/user.c
+++ b/mbbsd/user.c
@@ -1399,7 +1399,7 @@ u_list_CB(void *data, int num, userec_t * uentp)
if (uentp == NULL) {
move(2, 0);
clrtoeol();
- prints(ANSI_COLOR(7) " 使用者代號 %-25s 上站 文章 %s "
+ prints(ANSI_REVERSE " 使用者代號 %-25s 上站 文章 %s "
"最近光臨日期 " ANSI_COLOR(0) "\n",
"綽號暱稱",
HasUserPerm(PERM_SEEULEVELS) ? "等級" : "");
@@ -1525,7 +1525,7 @@ int u_detectDBCSAwareEvilClient()
move(14, 0);
outs("這是偵測區,您的游標會出現在"
- ANSI_COLOR(7) "這裡" ANSI_RESET);
+ ANSI_REVERSE "這裡" ANSI_RESET);
move(14, 15*2);
ch = igetch();
if(ch != KEY_LEFT && ch != KEY_RIGHT &&