diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/storage/pinyin_parser2.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/storage/pinyin_parser2.cpp b/src/storage/pinyin_parser2.cpp index a3bb735..433631b 100644 --- a/src/storage/pinyin_parser2.cpp +++ b/src/storage/pinyin_parser2.cpp @@ -768,14 +768,14 @@ bool ChewingDiscreteParser2::parse_one_key(pinyin_option_t options, if (search_chewing_tones(m_tone_table, str[index], &tone)) { index ++; } - - /* check the force tone option. */ - if (options & FORCE_TONE && CHEWING_ZERO_TONE == tone) { - return false; - } } probe: + /* check the force tone option. */ + if (options & FORCE_TONE && CHEWING_ZERO_TONE == tone) { + return false; + } + gchar * chewing = g_strconcat(initial, middle, final, NULL); /* search the chewing in the chewing index table. */ |