summaryrefslogtreecommitdiffstats
path: root/mbbsd/fav.c
diff options
context:
space:
mode:
Diffstat (limited to 'mbbsd/fav.c')
-rw-r--r--mbbsd/fav.c2
1 files changed, 1 insertions, 1 deletions
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;
}