Skip to content

Commit

Permalink
fix(table_translator): enable encoding uniquified commit history
Browse files Browse the repository at this point in the history
  • Loading branch information
nameoverflow committed Aug 16, 2018
1 parent 9f774e7 commit 74e31bc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/rime/gear/table_translator.cc
Original file line number Diff line number Diff line change
Expand Up @@ -335,7 +335,7 @@ bool TableTranslator::Memorize(const CommitEntry& commit_entry) {
}
string phrase;
for (; it != history.rend(); ++it) {
if (it->type != "table" && it->type != "sentence")
if (it->type != "table" && it->type != "sentence" && it->type != "uniquified")
break;
if (phrase.empty()) {
phrase = it->text; // last word
Expand Down

0 comments on commit 74e31bc

Please sign in to comment.