summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPeng Wu <alexepico@gmail.com>2012-01-04 16:54:04 +0800
committerPeng Wu <alexepico@gmail.com>2012-01-04 16:54:04 +0800
commit97c269ad379d7001d067757e556cbd0a7c30240c (patch)
tree9d66c884fb6e407bc6c56fc92cdd0729ca019518
parent8ebca1749f66d3a0705f60839658b3faf7ca202f (diff)
downloadlibpinyin-97c269ad379d7001d067757e556cbd0a7c30240c.tar.gz
libpinyin-97c269ad379d7001d067757e556cbd0a7c30240c.tar.xz
libpinyin-97c269ad379d7001d067757e556cbd0a7c30240c.zip
fixes ChewingParser2::in_chewing_scheme
-rw-r--r--src/storage/pinyin_parser2.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/storage/pinyin_parser2.cpp b/src/storage/pinyin_parser2.cpp
index 45138da..932a8eb 100644
--- a/src/storage/pinyin_parser2.cpp
+++ b/src/storage/pinyin_parser2.cpp
@@ -822,6 +822,7 @@ bool ChewingParser2::in_chewing_scheme(const char key, const char ** symbol)
if (search_chewing_tones(m_tone_table, key, &tone)) {
if (symbol)
*symbol = chewing_tone_table[tone];
+ return true;
}
return false;