summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorptt <ptt@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2004-05-13 03:23:58 +0800
committerptt <ptt@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2004-05-13 03:23:58 +0800
commitcc8f5372272788f9b8b5c2df601a55bb5868851d (patch)
tree7aea66defb7f1d41199526aef02370cbba22323c
parent462ff2cf4bd5c3693bd47bacce07f6b5122f9973 (diff)
downloadpttbbs-cc8f5372272788f9b8b5c2df601a55bb5868851d.tar
pttbbs-cc8f5372272788f9b8b5c2df601a55bb5868851d.tar.gz
pttbbs-cc8f5372272788f9b8b5c2df601a55bb5868851d.tar.bz2
pttbbs-cc8f5372272788f9b8b5c2df601a55bb5868851d.tar.lz
pttbbs-cc8f5372272788f9b8b5c2df601a55bb5868851d.tar.xz
pttbbs-cc8f5372272788f9b8b5c2df601a55bb5868851d.tar.zst
pttbbs-cc8f5372272788f9b8b5c2df601a55bb5868851d.zip
adjust recommend color again
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1970 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
-rw-r--r--mbbsd/bbs.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/mbbsd/bbs.c b/mbbsd/bbs.c
index 25e65edc..adefd015 100644
--- a/mbbsd/bbs.c
+++ b/mbbsd/bbs.c
@@ -1500,7 +1500,7 @@ recommend(int ent, fileheader_t * fhdr, char *direct)
{
struct tm *ptime = localtime(&now);
char buf[200], path[200],
- *ctype[3] = {"37m±À","31m¼N","37m"};
+ *ctype[3] = {"37m±À","31m¼N","31m¡÷"};
int type;
boardheader_t *bp;
static time_t lastrecommend = 0;
@@ -1548,11 +1548,11 @@ recommend(int ent, fileheader_t * fhdr, char *direct)
return FULLUPDATE;
snprintf(buf, sizeof(buf),
- "\033[1;31m¡÷ \033[%s\033[33m%s\033[m\033[33m:%s\033[m%*s%15s %02d/%02d\n",
+ "\033[1;%s \033[33m%s\033[m\033[33m:%s\033[m%*s%15s %02d/%02d\n",
ctype[type],
cuser.userid,
path,
- 56 - strlen(cuser.userid) - strlen(path) - strlen(ctype[type]),
+ 53 - strlen(cuser.userid) - strlen(path) ,
" ",
fromhost,
ptime->tm_mon + 1, ptime->tm_mday);