Skip to content

Commit 74e31bc

Browse files
committed
fix(table_translator): enable encoding uniquified commit history
1 parent 9f774e7 commit 74e31bc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/rime/gear/table_translator.cc

+1-1
Original file line numberDiff line numberDiff line change
@@ -335,7 +335,7 @@ bool TableTranslator::Memorize(const CommitEntry& commit_entry) {
335335
}
336336
string phrase;
337337
for (; it != history.rend(); ++it) {
338-
if (it->type != "table" && it->type != "sentence")
338+
if (it->type != "table" && it->type != "sentence" && it->type != "uniquified")
339339
break;
340340
if (phrase.empty()) {
341341
phrase = it->text; // last word

0 commit comments

Comments
 (0)