Skip to content

Commit 2714131

Browse files
committed
fix(syllabifier): enable_completion not working
Closes rime#343
1 parent 9248a6b commit 2714131

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/rime/algo/syllabifier.cc

+1-1
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,7 @@ int Syllabifier::BuildSyllableGraph(const string &input,
188188
good.insert(i);
189189
}
190190

191-
if (corrector_ && farthest < input.length()) {
191+
if (enable_completion_ && farthest < input.length()) {
192192
DLOG(INFO) << "completion enabled";
193193
const size_t kExpandSearchLimit = 512;
194194
vector<Prism::Match> keys;

0 commit comments

Comments
 (0)