summaryrefslogtreecommitdiffstats
path: root/src/storage/pinyin_base.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/storage/pinyin_base.cpp')
-rw-r--r--src/storage/pinyin_base.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/storage/pinyin_base.cpp b/src/storage/pinyin_base.cpp
index 7e2f805..f23c4cf 100644
--- a/src/storage/pinyin_base.cpp
+++ b/src/storage/pinyin_base.cpp
@@ -1068,7 +1068,7 @@ __default_parser_parse_recursive (const PinyinValidator &validator,
// A better seq was found.
if (remained_len != 0 && (remained_len + first_len) >= (best_remained_len + best_first_len) &&
(remained_keys <= best_remained_keys || best_remained_keys == 0)) {
-#if 0
+#if 1
if ((remained_len + first_len) > (best_remained_len + best_first_len) ||
remained_keys < best_remained_keys ||
best_remained_element->key.get_final () == PINYIN_ZeroFinal ||
@@ -1080,7 +1080,7 @@ __default_parser_parse_recursive (const PinyinValidator &validator,
best_remained_len = remained_len;
best_remained_keys = remained_keys;
best_remained_start = remained_start;
-#if 0
+#if 1
}
#endif
}