summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPeng Wu <alexepico@gmail.com>2015-08-12 14:03:41 +0800
committerPeng Wu <alexepico@gmail.com>2015-08-12 14:03:41 +0800
commitd82b8cf16a23487c45dca0d54915206f973c248d (patch)
treeee2b8e8be44663020465decc3b085850883e69aa
parentead773fadb403c43155a207acd414fceb07d65f7 (diff)
downloadlibzhuyin-d82b8cf16a23487c45dca0d54915206f973c248d.zip
libzhuyin-d82b8cf16a23487c45dca0d54915206f973c248d.tar.gz
libzhuyin-d82b8cf16a23487c45dca0d54915206f973c248d.tar.xz
fixes zhuyin_in_chewing_keyboard method
-rw-r--r--src/storage/pinyin_parser2.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/storage/pinyin_parser2.cpp b/src/storage/pinyin_parser2.cpp
index 86e25a7..a3bb735 100644
--- a/src/storage/pinyin_parser2.cpp
+++ b/src/storage/pinyin_parser2.cpp
@@ -915,7 +915,7 @@ bool ChewingDiscreteParser2::in_chewing_scheme(pinyin_option_t options,
}
end:
- assert(array->len <= 2);
+ assert(array->len <= 3);
if (array->len) {
g_ptr_array_add(array, NULL);