summaryrefslogtreecommitdiffstats
path: root/mbbsd/fav.c
diff options
context:
space:
mode:
authorvictor <victor@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2008-01-28 15:17:26 +0800
committervictor <victor@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2008-01-28 15:17:26 +0800
commit586b0b226ad5c5582fec6fae4ea42960d581ddb3 (patch)
treee4edcdde8f639f59807c841d8c89375f8d934333 /mbbsd/fav.c
parentf1f00d16b45129bf45ac8c33729be01ca9169e12 (diff)
downloadpttbbs-586b0b226ad5c5582fec6fae4ea42960d581ddb3.tar
pttbbs-586b0b226ad5c5582fec6fae4ea42960d581ddb3.tar.gz
pttbbs-586b0b226ad5c5582fec6fae4ea42960d581ddb3.tar.bz2
pttbbs-586b0b226ad5c5582fec6fae4ea42960d581ddb3.tar.lz
pttbbs-586b0b226ad5c5582fec6fae4ea42960d581ddb3.tar.xz
pttbbs-586b0b226ad5c5582fec6fae4ea42960d581ddb3.tar.zst
pttbbs-586b0b226ad5c5582fec6fae4ea42960d581ddb3.zip
mark dirty after set_attr, fix bug reported at #17dLCl9P (SYSOP) [ptt.cc]
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3875 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'mbbsd/fav.c')
-rw-r--r--mbbsd/fav.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/mbbsd/fav.c b/mbbsd/fav.c
index 5e851a54..b3cbc411 100644
--- a/mbbsd/fav.c
+++ b/mbbsd/fav.c
@@ -194,6 +194,7 @@ void set_attr(fav_type_t *ft, int bit, char bool){
ft->attr |= bit;
else
ft->attr &= ~bit;
+ dirty = 1;
}
inline int is_set_attr(fav_type_t *ft, char bit){