summaryrefslogtreecommitdiffstats
path: root/mbbsd/board.c
diff options
context:
space:
mode:
authorvictor <victor@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2004-05-13 20:51:57 +0800
committervictor <victor@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2004-05-13 20:51:57 +0800
commit3bde5d9d7539c836dcbfbe8c6c0ccf3de9182621 (patch)
treea84b5b53a416f6acf292c07a19e4610f189b6782 /mbbsd/board.c
parent988c1a522b7715a3c908d55d2264a9d1eb892105 (diff)
downloadpttbbs-3bde5d9d7539c836dcbfbe8c6c0ccf3de9182621.tar
pttbbs-3bde5d9d7539c836dcbfbe8c6c0ccf3de9182621.tar.gz
pttbbs-3bde5d9d7539c836dcbfbe8c6c0ccf3de9182621.tar.bz2
pttbbs-3bde5d9d7539c836dcbfbe8c6c0ccf3de9182621.tar.lz
pttbbs-3bde5d9d7539c836dcbfbe8c6c0ccf3de9182621.tar.xz
pttbbs-3bde5d9d7539c836dcbfbe8c6c0ccf3de9182621.tar.zst
pttbbs-3bde5d9d7539c836dcbfbe8c6c0ccf3de9182621.zip
color fix
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1975 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'mbbsd/board.c')
-rw-r--r--mbbsd/board.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/mbbsd/board.c b/mbbsd/board.c
index 983cc746..d30c8945 100644
--- a/mbbsd/board.c
+++ b/mbbsd/board.c
@@ -508,6 +508,7 @@ show_brdlist(int head, int clsflag, int newflag)
else if (ptr->myattr & NBRD_FOLDER) {
number = get_data_number(get_fav_folder(getfolder(ptr->bid)));
priv = ' ';
+ favcolor = !(cuser.uflag2 & FAVNOHILIGHT) ? "\033[1;36m" : "";
brdname = "MyFavFolder";
class = "¥Ø¿ý";
icon = "¡¼";
@@ -516,6 +517,7 @@ show_brdlist(int head, int clsflag, int newflag)
else if (!HasPerm(B_BH(ptr))) {
number = -1;
priv = ' ';
+ favcolor = !(cuser.uflag2 & FAVNOHILIGHT) ? "\033[1;36m" : "";
brdname = "Unknown??";
class = "ÁôªO";
icon = "¡H";
@@ -526,7 +528,6 @@ show_brdlist(int head, int clsflag, int newflag)
}
mark = "";
- color = "";
bm = "";
nuser = 0;
}