summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPeng Wu <alexepico@gmail.com>2014-04-10 15:27:49 +0800
committerPeng Wu <alexepico@gmail.com>2014-04-10 15:27:49 +0800
commitb0458f820841d8e2c2433fc374959acb72c2194d (patch)
tree424f917037244688f235f676fc32bd75e7b43c96
parent840c16f4a673beb3b33bc62759fae46ea887f3d2 (diff)
downloadlibzhuyin-b0458f820841d8e2c2433fc374959acb72c2194d.tar.gz
libzhuyin-b0458f820841d8e2c2433fc374959acb72c2194d.tar.xz
libzhuyin-b0458f820841d8e2c2433fc374959acb72c2194d.zip
rename enums
-rw-r--r--src/storage/pinyin_parser2.cpp4
-rw-r--r--src/storage/zhuyin_custom2.h2
2 files changed, 3 insertions, 3 deletions
diff --git a/src/storage/pinyin_parser2.cpp b/src/storage/pinyin_parser2.cpp
index 9fabd8a..f2cf157 100644
--- a/src/storage/pinyin_parser2.cpp
+++ b/src/storage/pinyin_parser2.cpp
@@ -74,8 +74,8 @@ static bool check_chewing_options(pinyin_option_t options, const chewing_index_i
}
/* handle correct chewing, currently only one flag per item. */
- flags &= CHEWING_CORRECT_ALL;
- options &= CHEWING_CORRECT_ALL;
+ flags &= ZHUYIN_CORRECT_ALL;
+ options &= ZHUYIN_CORRECT_ALL;
if (flags) {
if ((flags & options) != flags)
diff --git a/src/storage/zhuyin_custom2.h b/src/storage/zhuyin_custom2.h
index 1b1fd26..bcea40b 100644
--- a/src/storage/zhuyin_custom2.h
+++ b/src/storage/zhuyin_custom2.h
@@ -39,7 +39,7 @@ enum ZhuyinTableFlag{
HSU_CORRECT = 1U << 7,
ETEN26_CORRECT = 1U << 8,
DYNAMIC_ADJUST = 1U << 9,
- CHEWING_CORRECT_ALL = HSU_CORRECT|ETEN26_CORRECT
+ ZHUYIN_CORRECT_ALL = HSU_CORRECT|ETEN26_CORRECT
};
/**