diff options
author | Peng Wu <alexepico@gmail.com> | 2015-04-24 14:00:55 +0800 |
---|---|---|
committer | Peng Wu <alexepico@gmail.com> | 2015-04-24 14:00:55 +0800 |
commit | 39641675ecda9f9e39a9b8073dc03c74eb435234 (patch) | |
tree | cc5e256f5131ce3886b6bbb417711ffea1c4619f | |
parent | 2a20d9d2336cba73cf292d4491f2418d1294f4c4 (diff) | |
download | libzhuyin-39641675ecda9f9e39a9b8073dc03c74eb435234.tar.gz libzhuyin-39641675ecda9f9e39a9b8073dc03c74eb435234.tar.xz libzhuyin-39641675ecda9f9e39a9b8073dc03c74eb435234.zip |
fixes a typo
-rw-r--r-- | src/storage/pinyin_parser2.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/storage/pinyin_parser2.cpp b/src/storage/pinyin_parser2.cpp index 801531d..51f3ae8 100644 --- a/src/storage/pinyin_parser2.cpp +++ b/src/storage/pinyin_parser2.cpp @@ -36,7 +36,7 @@ using namespace zhuyin; -#define PINYIN_SUPPORT_QUOTATION 0 +#define FULL_PINYIN_SUPPORT_QUOTATION 0 static bool check_pinyin_options(pinyin_option_t options, const pinyin_index_item_t * item) { @@ -322,7 +322,7 @@ int FullPinyinParser2::parse (pinyin_option_t options, ChewingKeyVector & keys, for (i = 0; i < len; ++i) { -#if PINYIN_SUPPORT_QUOTATION +#if FULL_PINYIN_SUPPORT_QUOTATION if (input[i] == '\'') { curstep = &g_array_index(m_parse_steps, parse_value_t, i); nextstep = &g_array_index(m_parse_steps, parse_value_t, i + 1); |