mirror of https://github.com/OpenMW/openmw.git
Fix conversion to UTF8 for ESM4 Reader strings
toUtf8 returns a string view to the input when input string is ASCII and nothing is written to the buffer which means output string of Reader::getStringImpl is not modified. Move input to the output string and resize it in this case.crashfix_debugdraw
parent
80d52e3da8
commit
4f7dcd5ae5
Loading…
Reference in New Issue