diff options
Diffstat (limited to 'src/storage')
-rw-r--r-- | src/storage/pinyin_parser2.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/storage/pinyin_parser2.cpp b/src/storage/pinyin_parser2.cpp index 932a8eb..483f4ed 100644 --- a/src/storage/pinyin_parser2.cpp +++ b/src/storage/pinyin_parser2.cpp @@ -728,7 +728,7 @@ bool ChewingParser2::parse_one_key(pinyin_option_t options, } /* search the chewing in the chewing index table. */ - if (search_chewing_index(options, chewing, key)) { + if (chewing && search_chewing_index(options, chewing, key)) { /* save back tone if available. */ key.m_tone = tone; g_free(chewing); |