summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPeng Wu <alexepico@gmail.com>2018-06-25 14:50:39 +0800
committerPeng Wu <alexepico@gmail.com>2018-06-25 14:50:39 +0800
commitd9741044eed56707ba134ebda7a364f1df847699 (patch)
tree3e04290ae23c7a75d4c4520e4df7cf369fddec23
parent62194b33291e58cbe43484a905b99c79e957ed9d (diff)
downloadlibpinyin-d9741044eed56707ba134ebda7a364f1df847699.zip
libpinyin-d9741044eed56707ba134ebda7a364f1df847699.tar.gz
libpinyin-d9741044eed56707ba134ebda7a364f1df847699.tar.xz
fixes filter variable
-rw-r--r--src/pinyin.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pinyin.cpp b/src/pinyin.cpp
index 3508b87..b91f2b3 100644
--- a/src/pinyin.cpp
+++ b/src/pinyin.cpp
@@ -1859,7 +1859,7 @@ bool pinyin_guess_candidates(pinyin_instance_t * instance,
bool pinyin_guess_predicted_candidates(pinyin_instance_t * instance,
const char * prefix) {
const guint32 length = 2;
- const guint32 filter = 3;
+ const guint32 filter = 10;
pinyin_context_t * context = instance->m_context;
FacadePhraseIndex * phrase_index = context->m_phrase_index;