diff options
author | ptt <ptt@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2002-05-26 10:08:43 +0800 |
---|---|---|
committer | ptt <ptt@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2002-05-26 10:08:43 +0800 |
commit | 0c330670897b02eb09a2f9b6dcb318825fd824d0 (patch) | |
tree | cbaf07500a1d46b09d85385d3077e95d7c5680e8 | |
parent | 20dff7e7ece885e6d42658c22ebeede4cc678083 (diff) | |
download | pttbbs-0c330670897b02eb09a2f9b6dcb318825fd824d0.tar pttbbs-0c330670897b02eb09a2f9b6dcb318825fd824d0.tar.gz pttbbs-0c330670897b02eb09a2f9b6dcb318825fd824d0.tar.bz2 pttbbs-0c330670897b02eb09a2f9b6dcb318825fd824d0.tar.lz pttbbs-0c330670897b02eb09a2f9b6dcb318825fd824d0.tar.xz pttbbs-0c330670897b02eb09a2f9b6dcb318825fd824d0.tar.zst pttbbs-0c330670897b02eb09a2f9b6dcb318825fd824d0.zip |
*** empty log message ***
git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@240 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
-rw-r--r-- | mbbsd/board.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/mbbsd/board.c b/mbbsd/board.c index 5288fedb..f26e21b4 100644 --- a/mbbsd/board.c +++ b/mbbsd/board.c @@ -1,4 +1,4 @@ -/* $Id: board.c,v 1.22 2002/05/25 16:34:35 ptt Exp $ */ +/* $Id: board.c,v 1.23 2002/05/26 02:08:43 ptt Exp $ */ #include <stdio.h> #include <stdlib.h> #include <string.h> @@ -625,11 +625,13 @@ static void show_brdlist(int head, int clsflag, int newflag) { if (ptr->bh->brdattr & BRD_BAD) prints(" X "); else if(ptr->bh->nuser>=100) - prints("\033[1;31mHOT\033[m"); + prints("\033[1mHOT\033[m"); else if(ptr->bh->nuser>50) prints("\033[1;31m%2d\033[m ",ptr->bh->nuser); - else if(ptr->bh->nuser>0) + else if(ptr->bh->nuser>10) prints("\033[1;33m%2d\033[m ",ptr->bh->nuser); + else if(ptr->bh->nuser>0) + prints("%2d ",ptr->bh->nuser); else prints(" %c ", ptr->bh->bvote? 'V':' '); prints("%.13s", ptr->bh->BM); refresh(); |