diff options
author | ptt <ptt@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2004-05-12 21:38:46 +0800 |
---|---|---|
committer | ptt <ptt@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2004-05-12 21:38:46 +0800 |
commit | 7d4d38cd01595fab2551b723e57ce8dba885319d (patch) | |
tree | 729b9abfe2e256db8848e8ba9081c929122a71a0 /mbbsd/bbs.c | |
parent | dfa1b10592a2580d5e29803219a93ac511e03afa (diff) | |
download | pttbbs-7d4d38cd01595fab2551b723e57ce8dba885319d.tar pttbbs-7d4d38cd01595fab2551b723e57ce8dba885319d.tar.gz pttbbs-7d4d38cd01595fab2551b723e57ce8dba885319d.tar.bz2 pttbbs-7d4d38cd01595fab2551b723e57ce8dba885319d.tar.lz pttbbs-7d4d38cd01595fab2551b723e57ce8dba885319d.tar.xz pttbbs-7d4d38cd01595fab2551b723e57ce8dba885319d.tar.zst pttbbs-7d4d38cd01595fab2551b723e57ce8dba885319d.zip |
fix for color
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1959 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'mbbsd/bbs.c')
-rw-r--r-- | mbbsd/bbs.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/mbbsd/bbs.c b/mbbsd/bbs.c index ad7c12bb..fb2480f8 100644 --- a/mbbsd/bbs.c +++ b/mbbsd/bbs.c @@ -1548,13 +1548,12 @@ recommend(int ent, fileheader_t * fhdr, char *direct) return FULLUPDATE; snprintf(buf, sizeof(buf), - "\033[1;31m¡÷ \033[%dm%s\033[m\033[%dm:%s\033[m%*s%s%15s %02d/%02d\n", - color[type], + "\033[1;31m¡÷ \033[33m%s\033[m\033[%dm%s\033[33m:%s\033[m%*s%15s %02d/%02d\n", cuser.userid, - color[type], + color[type], ctype[type], path, 51 - strlen(cuser.userid) - strlen(path), " ", - ctype[type], fromhost, + fromhost, ptime->tm_mon + 1, ptime->tm_mday); do_add_recommend(direct, fhdr, ent, buf, type); #ifdef ASSESS |