The second expression (ch is space) is removed because the first one contains space 0x20
This commit is contained in:
parent
49d8254de8
commit
601062f040
@ -382,7 +382,7 @@ bool WriteChar(ostream_wrapper& out, char ch) {
|
||||
out << "\"\\b\"";
|
||||
} else if (ch == '\\') {
|
||||
out << "\"\\\\\"";
|
||||
} else if ((0x20 <= ch && ch <= 0x7e) || ch == ' ') {
|
||||
} else if (0x20 <= ch && ch <= 0x7e) {
|
||||
out << "\"" << ch << "\"";
|
||||
} else {
|
||||
out << "\"";
|
||||
|
||||
Loading…
Reference in New Issue
Block a user