Skip to content

Commit

Permalink
fix full shape (rime#773)
Browse files Browse the repository at this point in the history
  • Loading branch information
eagleoflqj authored and graphemecluster committed Dec 7, 2023
1 parent cc103df commit 06b45b6
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 06b45b6

Please sign in to comment.