forked from Mirrors/openclonk
C4AulParse: Don't escape spaces in bytecode dumps of strings
parent
99f704fbb8
commit
994cb52cea
|
@ -662,7 +662,7 @@ void C4AulScriptFunc::DumpByteCode()
|
|||
const StdStrBuf &s = bcc.Par.s->GetData();
|
||||
std::string es;
|
||||
std::for_each(s.getData(), s.getData() + s.getLength(), [&es](char c) {
|
||||
if (std::isgraph((unsigned char)c))
|
||||
if (std::isprint((unsigned char)c))
|
||||
{
|
||||
es += c;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue