summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorwens <wens@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2008-06-16 15:25:30 +0800
committerwens <wens@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2008-06-16 15:25:30 +0800
commit9918ba57360f889cf1163b0924a4bcd7f9022d91 (patch)
tree3f7d74025563d70635c0461db446d71bc8ad885f
parentc16f23e758c7a14452484d32962d5bed5c22d75e (diff)
downloadpttbbs-9918ba57360f889cf1163b0924a4bcd7f9022d91.tar
pttbbs-9918ba57360f889cf1163b0924a4bcd7f9022d91.tar.gz
pttbbs-9918ba57360f889cf1163b0924a4bcd7f9022d91.tar.bz2
pttbbs-9918ba57360f889cf1163b0924a4bcd7f9022d91.tar.lz
pttbbs-9918ba57360f889cf1163b0924a4bcd7f9022d91.tar.xz
pttbbs-9918ba57360f889cf1163b0924a4bcd7f9022d91.tar.zst
pttbbs-9918ba57360f889cf1163b0924a4bcd7f9022d91.zip
Don't use keywords
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4370 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
-rw-r--r--mbbsd/fav.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/mbbsd/fav.c b/mbbsd/fav.c
index 3e491f0e..3a466578 100644
--- a/mbbsd/fav.c
+++ b/mbbsd/fav.c
@@ -974,13 +974,13 @@ fav_type_t *fav_add_admtag(int bid)
/**
* 將目前目錄下,由 type & id 指定的 entry 標上/取消 tag
- * @param bool 同 set_attr
+ * @param bit 同 set_attr
* @note 若同一個目錄不幸有同樣的東西,只有第一個會作用。
*/
-void fav_tag(int id, char type, char bool) {
+void fav_tag(int id, char type, char bit) {
fav_type_t *ft = get_fav_item(id, type);
if (ft != NULL)
- set_attr(ft, FAVH_TAG, bool);
+ set_attr(ft, FAVH_TAG, bit);
}
static void fav_dosomething_tagged_item(fav_t *fp, int (*act)(fav_t *, fav_type_t *))