mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-04 18:41:51 +00:00
rolled back temporary
This commit is contained in:
parent
7613aa4e97
commit
32891ad156
1 changed files with 2 additions and 3 deletions
|
|
@ -67,11 +67,10 @@ std::string escape_string(std::string s) {
|
|||
case '"': ss << "\\\""; break;
|
||||
case '\\': ss << "\\\\"; break;
|
||||
default:
|
||||
/*if (c < ' ') {
|
||||
if (c < ' ') {
|
||||
ss << "\\" << std::oct << uint(ubyte(c));
|
||||
break;
|
||||
}*/
|
||||
// write it utf-8 encoded as is
|
||||
}
|
||||
ss << c;
|
||||
break;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue