summaryrefslogtreecommitdiffstats
path: root/mbbsd
diff options
context:
space:
mode:
authorin2 <in2@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2003-03-26 20:32:16 +0800
committerin2 <in2@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2003-03-26 20:32:16 +0800
commit128fc8c99fdd4bc004091f9b3598ae71f4e50e34 (patch)
tree6d047ee50e7b7e89d1b5f058d52e51679f97bf14 /mbbsd
parent1a82ceff0f054676003bc564138db536b5cb7a72 (diff)
downloadpttbbs-128fc8c99fdd4bc004091f9b3598ae71f4e50e34.tar
pttbbs-128fc8c99fdd4bc004091f9b3598ae71f4e50e34.tar.gz
pttbbs-128fc8c99fdd4bc004091f9b3598ae71f4e50e34.tar.bz2
pttbbs-128fc8c99fdd4bc004091f9b3598ae71f4e50e34.tar.lz
pttbbs-128fc8c99fdd4bc004091f9b3598ae71f4e50e34.tar.xz
pttbbs-128fc8c99fdd4bc004091f9b3598ae71f4e50e34.tar.zst
pttbbs-128fc8c99fdd4bc004091f9b3598ae71f4e50e34.zip
FAVNOHILIGHT
git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@722 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'mbbsd')
-rw-r--r--mbbsd/board.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/mbbsd/board.c b/mbbsd/board.c
index dc2596ed..bc454b0f 100644
--- a/mbbsd/board.c
+++ b/mbbsd/board.c
@@ -1,4 +1,4 @@
-/* $Id: board.c,v 1.95 2003/03/26 12:24:40 in2 Exp $ */
+/* $Id: board.c,v 1.96 2003/03/26 12:32:16 in2 Exp $ */
#include "bbs.h"
#define BRC_STRLEN 15 /* Length of board name */
#define BRC_MAXSIZE 24576
@@ -931,8 +931,9 @@ show_brdlist(int head, int clsflag, int newflag)
}
if (class_bid != 1) {
prints("%s%-13s\033[m%s%5.5s\033[0;37m%2.2s\033[m"
- "%-34.34s",
- (ptr->myattr & BRD_FAV) ? "\033[1;36m" : "",
+ "%-34.34s",
+ ((ptr->myattr & BRD_FAV) &&
+ !cuser.uflag2 & FAVNOHILIGHT)? "\033[1;36m" : "",
B_BH(ptr)->brdname,
color[(unsigned int)
(B_BH(ptr)->title[1] + B_BH(ptr)->title[2] +