Skip to content

Commit

Permalink
fixes pinyin_remember_user_input function
Browse files Browse the repository at this point in the history
  • Loading branch information
epico committed Jul 11, 2016
1 parent 1847e01 commit 6a9d8e2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pinyin.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2868,7 +2868,7 @@ bool pinyin_remember_user_input(pinyin_instance_t * instance,
phrase_index->prepare_tokens(tokens);
for (glong i = 0; i < phrase_length; ++i) {
phrase_token_t token = null_token;
ucs4_t character = phrase[i];
ucs4_t character = ucs4_phrase[i];

phrase_index->clear_tokens(tokens);
int retval = phrase_table->search(1, &character, tokens);
Expand Down

0 comments on commit 6a9d8e2

Please sign in to comment.