Skip to content

Commit

Permalink
Merge remote-tracking branch 'upstream1/master'
Browse files Browse the repository at this point in the history
  • Loading branch information
dsl committed Apr 4, 2023
2 parents bea6a06 + 0bbaca0 commit dd1652b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/rime/gear/speller.cc
Original file line number Diff line number Diff line change
Expand Up @@ -160,8 +160,8 @@ namespace rime {
if (3 == len && belongs_to(c1, initials_)
&& string("qwrtsdfgzxcvbyphjklnm").find(ctx->input()[comfirmed_pos + 2]) != string::npos
&& boost::regex_match(schema, boost::regex("^sbfx$"))) {
if (string("qwrtsdfgzxcvbyphjklnm").find(ch) != string::npos
|| string("aeuio").find(ch) != string::npos && !ctx->get_option("pro_word")) {
if (string("qwrtsdfgzxcvbyphjklnm").find(ch) != string::npos/*
|| string("aeuio").find(ch) != string::npos && !ctx->get_option("pro_word")*/) {
if (is_buffered) {
ctx->set_caret_pos(ctx->caret_pos() - 1);
ctx->ConfirmCurrentSelection();
Expand Down

0 comments on commit dd1652b

Please sign in to comment.