diff options
author | piaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2008-01-28 15:54:24 +0800 |
---|---|---|
committer | piaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2008-01-28 15:54:24 +0800 |
commit | 4b2facc1a39a7816040f581843d39e442f887669 (patch) | |
tree | a0cbfb171492509ea124a5a0fc7871980eb03926 /mbbsd/fav.c | |
parent | 586b0b226ad5c5582fec6fae4ea42960d581ddb3 (diff) | |
download | pttbbs-4b2facc1a39a7816040f581843d39e442f887669.tar pttbbs-4b2facc1a39a7816040f581843d39e442f887669.tar.gz pttbbs-4b2facc1a39a7816040f581843d39e442f887669.tar.bz2 pttbbs-4b2facc1a39a7816040f581843d39e442f887669.tar.lz pttbbs-4b2facc1a39a7816040f581843d39e442f887669.tar.xz pttbbs-4b2facc1a39a7816040f581843d39e442f887669.tar.zst pttbbs-4b2facc1a39a7816040f581843d39e442f887669.zip |
- user: hinting on SYSOP permission update of setting email
- register: improve new-account process
- bbs: hints on hotkey change(H)
- board/fav: make TAG bits more meaningful.
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3876 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'mbbsd/fav.c')
-rw-r--r-- | mbbsd/fav.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/mbbsd/fav.c b/mbbsd/fav.c index b3cbc411..5f782599 100644 --- a/mbbsd/fav.c +++ b/mbbsd/fav.c @@ -183,14 +183,14 @@ inline static int get_line_num(fav_t *fp) { /** * 設定某個 flag。 * @bit: 目前所有 flags 有: FAVH_FAV, FAVH_TAG, FAVH_UNREAD, FAVH_ADM_TAG - * @param bool: FALSE: unset, TRUE: set, EXCH: opposite + * @param cmd: FALSE: unset, TRUE: set, EXCH: opposite */ -void set_attr(fav_type_t *ft, int bit, char bool){ +void set_attr(fav_type_t *ft, int bit, char cmd){ if (ft == NULL) return; - if (bool == EXCH) + if (cmd == EXCH) ft->attr ^= bit; - else if (bool == TRUE) + else if (cmd == TRUE) ft->attr |= bit; else ft->attr &= ~bit; |