summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--mbbsd/board.c3
-rw-r--r--mbbsd/fav.c2
2 files changed, 3 insertions, 2 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;
}
diff --git a/mbbsd/fav.c b/mbbsd/fav.c
index c5bd6c0d..eca8824b 100644
--- a/mbbsd/fav.c
+++ b/mbbsd/fav.c
@@ -753,7 +753,7 @@ static void fav_dosomething_tagged_item(fav_t *fp, int (*act)(fav_t *, fav_type_
{
int i;
for(i = 0; i < fp->DataTail; i++){
- if (is_set_attr(&fp->favh[i], FAVH_FAV) && is_set_attr(&fp->favh[i], FAVH_TAG))
+ if (is_set_attr(&fp->favh[i], FAVH_FAV | FAVH_TAG))
if ((*act)(fp, &fp->favh[i]) < 0)
break;
}