From 0c330670897b02eb09a2f9b6dcb318825fd824d0 Mon Sep 17 00:00:00 2001 From: ptt Date: Sun, 26 May 2002 02:08:43 +0000 Subject: *** empty log message *** git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@240 63ad8ddf-47c3-0310-b6dd-a9e9d9715204 --- mbbsd/board.c | 8 +++++--- 1 file 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 #include #include @@ -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(); -- cgit v1.2.3