summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPeng Wu <alexepico@gmail.com>2015-03-12 14:10:07 +0800
committerPeng Wu <alexepico@gmail.com>2015-03-12 14:10:07 +0800
commitbc9d7e55bea8b0a4b101346761bee79a7f2468a2 (patch)
tree7c779c783f58bd3b4ecde7354719b7a110650255
parentdf19952fcff68301c4c8d3449c0c0632081b9450 (diff)
downloadlibzhuyin-bc9d7e55bea8b0a4b101346761bee79a7f2468a2.tar.gz
libzhuyin-bc9d7e55bea8b0a4b101346761bee79a7f2468a2.tar.xz
libzhuyin-bc9d7e55bea8b0a4b101346761bee79a7f2468a2.zip
use SHUFFLE_CORRECT
-rw-r--r--src/storage/pinyin_parser2.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/storage/pinyin_parser2.cpp b/src/storage/pinyin_parser2.cpp
index 1a80621..ff8b645 100644
--- a/src/storage/pinyin_parser2.cpp
+++ b/src/storage/pinyin_parser2.cpp
@@ -741,6 +741,7 @@ bool ChewingDiscreteParser2::set_scheme(ZhuyinScheme scheme) {
switch(scheme) {
case CHEWING_STANDARD:
+ m_options = SHUFFLE_CORRECT;
INIT_PARSER(bopomofo_index, standard);
break;
case CHEWING_HSU:
@@ -748,12 +749,15 @@ bool ChewingDiscreteParser2::set_scheme(ZhuyinScheme scheme) {
INIT_PARSER(hsu_bopomofo_index, hsu);
break;
case CHEWING_IBM:
+ m_options = SHUFFLE_CORRECT;
INIT_PARSER(bopomofo_index, ibm);
break;
case CHEWING_GINYIEH:
+ m_options = SHUFFLE_CORRECT;
INIT_PARSER(bopomofo_index, ginyieh);
break;
case CHEWING_ETEN:
+ m_options = SHUFFLE_CORRECT;
INIT_PARSER(bopomofo_index, eten);
break;
case CHEWING_ETEN26:
@@ -761,6 +765,7 @@ bool ChewingDiscreteParser2::set_scheme(ZhuyinScheme scheme) {
INIT_PARSER(eten26_bopomofo_index, eten26);
break;
case CHEWING_STANDARD_DVORAK:
+ m_options = SHUFFLE_CORRECT;
INIT_PARSER(bopomofo_index, standard_dvorak);
break;
case CHEWING_HSU_DVORAK: