summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorvictor <victor@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2004-05-13 20:53:08 +0800
committervictor <victor@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2004-05-13 20:53:08 +0800
commitfe460289f56cb30950a462899d10946100158217 (patch)
tree7c098f5b0fb3722c02d246e564df707b17632705
parent3bde5d9d7539c836dcbfbe8c6c0ccf3de9182621 (diff)
downloadpttbbs-fe460289f56cb30950a462899d10946100158217.tar
pttbbs-fe460289f56cb30950a462899d10946100158217.tar.gz
pttbbs-fe460289f56cb30950a462899d10946100158217.tar.bz2
pttbbs-fe460289f56cb30950a462899d10946100158217.tar.lz
pttbbs-fe460289f56cb30950a462899d10946100158217.tar.xz
pttbbs-fe460289f56cb30950a462899d10946100158217.tar.zst
pttbbs-fe460289f56cb30950a462899d10946100158217.zip
missing commit
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1976 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
-rw-r--r--mbbsd/fav.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mbbsd/fav.c b/mbbsd/fav.c
index eca8824b..c5bd6c0d 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 | FAVH_TAG))
+ if (is_set_attr(&fp->favh[i], FAVH_FAV) && is_set_attr(&fp->favh[i], FAVH_TAG))
if ((*act)(fp, &fp->favh[i]) < 0)
break;
}