Skip to content

Commit 60ca58b

Browse files
committed
be more cautious
1 parent 4ea9b95 commit 60ca58b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/rime/gear/reverse_lookup_filter.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ void ReverseLookupFilter::Process(const an<Candidate>& cand) {
7979
if (rev_dict_->ReverseLookup(phrase->text(), &codes)) {
8080
comment_formatter_.Apply(&codes);
8181
if (!codes.empty()) {
82-
if (!overwrite_comment_ && !append_comment_) {
82+
if (!overwrite_comment_ && !append_comment_ && cand->comment().empty()) {
8383
phrase->set_comment(codes);
8484
} else if (overwrite_comment_) {
8585
phrase->set_comment(codes);

0 commit comments

Comments
 (0)