We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 17a80f8 commit 6948a62Copy full SHA for 6948a62
src/rime/gear/single_char_filter.cc
@@ -40,7 +40,7 @@ bool SingleCharFirstTranslation::Rearrange() {
40
while (!translation_->exhausted()) {
41
auto cand = translation_->Peek();
42
auto phrase = As<Phrase>(Candidate::GetGenuineCandidate(cand));
43
- if (!phrase || phrase->type() != "table" || phrase->type() != "user_table") {
+ if (!phrase || (phrase->type() != "table" && phrase->type() != "user_table")) {
44
break;
45
}
46
if (unistrlen(cand->text()) == 1) {
0 commit comments