mirror of
https://github.com/godotengine/godot.git
synced 2026-01-06 10:11:57 +03:00
Replace append_utfx with direct String::utfx
This commit is contained in:
@@ -774,8 +774,7 @@ Error ProjectSettings::_load_settings_binary(const String &p_path) {
|
||||
cs.resize(slen + 1);
|
||||
cs[slen] = 0;
|
||||
f->get_buffer((uint8_t *)cs.ptr(), slen);
|
||||
String key;
|
||||
key.append_utf8(cs.ptr(), slen);
|
||||
String key = String::utf8(cs.ptr(), slen);
|
||||
|
||||
uint32_t vlen = f->get_32();
|
||||
Vector<uint8_t> d;
|
||||
|
||||
Reference in New Issue
Block a user