Skip to content

Commit

Permalink
fix full shape (#773)
Browse files Browse the repository at this point in the history
  • Loading branch information
eagleoflqj committed Dec 7, 2023
1 parent 767ebad commit bffd0cb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/rime/gear/shape.cc
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ void ShapeFormatter::Format(string* text) {
return;
}
if (std::all_of(text->cbegin(), text->cend(),
[](auto ch) { return (ch >= 0x20 && ch <= 0x7e); })) {
[](auto ch) { return (ch < 0x20 || ch > 0x7e); })) {
return;
}
std::ostringstream oss;
Expand Down

0 comments on commit bffd0cb

Please sign in to comment.