From b0458f820841d8e2c2433fc374959acb72c2194d Mon Sep 17 00:00:00 2001 From: Peng Wu Date: Thu, 10 Apr 2014 15:27:49 +0800 Subject: rename enums --- src/storage/pinyin_parser2.cpp | 4 ++-- src/storage/zhuyin_custom2.h | 2 +- 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 }; /** -- cgit