summaryrefslogtreecommitdiffstats
path: root/src/lookup
diff options
context:
space:
mode:
Diffstat (limited to 'src/lookup')
-rw-r--r--src/lookup/pinyin_lookup2.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lookup/pinyin_lookup2.cpp b/src/lookup/pinyin_lookup2.cpp
index 42bbd0e..dd5391d 100644
--- a/src/lookup/pinyin_lookup2.cpp
+++ b/src/lookup/pinyin_lookup2.cpp
@@ -262,7 +262,7 @@ bool PinyinLookup2::get_best_match(TokenVector prefixes,
(m_constraints, lookup_constraint_t, m);
if (CONSTRAINT_NOSEARCH == next_constraint->m_type)
- break;
+ continue;
m_phrase_index->clear_ranges(ranges);