diff options
author | victor <victor@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2008-01-28 15:17:26 +0800 |
---|---|---|
committer | victor <victor@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2008-01-28 15:17:26 +0800 |
commit | 586b0b226ad5c5582fec6fae4ea42960d581ddb3 (patch) | |
tree | e4edcdde8f639f59807c841d8c89375f8d934333 /mbbsd | |
parent | f1f00d16b45129bf45ac8c33729be01ca9169e12 (diff) | |
download | pttbbs-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')
-rw-r--r-- | mbbsd/fav.c | 1 |
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){ |