Skip to content

Commit

Permalink
fix typing "tesst" with optimize>=2
Browse files Browse the repository at this point in the history
  • Loading branch information
dinhngtu committed Feb 4, 2024
1 parent 2be127a commit 5db6ddd
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions Telex/TelexEngine.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -386,11 +386,7 @@ TelexStates TelexEngine::PushChar(_In_ wchar_t corig) {
TelexEngineImpl::ReapplyTone(*this);
}
} else {
if (_config.optimize_multilang >= 2) {
TelexEngineImpl::Invalidate(*this);
} else {
TelexEngineImpl::InvalidateAndPopBack(*this, c);
}
TelexEngineImpl::InvalidateAndPopBack(*this, c);
}

} else if (((_c1 == L"gi" && _v.empty()) || !_v.empty()) && _c2.empty() && IS(cat, CharTypes::ConsoC2)) {
Expand Down

0 comments on commit 5db6ddd

Please sign in to comment.