From 646d55409b13fec993b9cf64894c11ca6cc4f525 Mon Sep 17 00:00:00 2001 From: Peng Wu Date: Sun, 27 May 2012 09:41:03 +0800 Subject: refine parse one key --- src/storage/pinyin_parser2.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/storage/pinyin_parser2.cpp b/src/storage/pinyin_parser2.cpp index c91be99..6b9279b 100644 --- a/src/storage/pinyin_parser2.cpp +++ b/src/storage/pinyin_parser2.cpp @@ -623,7 +623,6 @@ bool DoublePinyinParser2::parse_one_key(pinyin_option_t options, ChewingKey & key, const char *str, int len) const { options &= ~(PINYIN_CORRECT_ALL|PINYIN_AMB_ALL); - options |= PINYIN_CORRECT_UE_VE; if (1 == len) { if (!(options & PINYIN_INCOMPLETE)) @@ -647,6 +646,7 @@ bool DoublePinyinParser2::parse_one_key(pinyin_option_t options, ChewingTone tone = CHEWING_ZERO_TONE; options &= ~(PINYIN_INCOMPLETE|CHEWING_INCOMPLETE); + options |= PINYIN_CORRECT_UE_VE; /* parse tone */ if (3 == len) { -- cgit