mirror of
https://github.com/godotengine/godot.git
synced 2025-11-02 06:31:13 +00:00
Merge pull request #104556 from Ivorforce/string-extend-instead-of-parse
Use `append_` instead of `parse_` for `String` methods.
This commit is contained in:
commit
780cf03051
62 changed files with 245 additions and 274 deletions
|
|
@ -1677,7 +1677,7 @@ String EditorExportPlatformAndroid::_parse_string(const uint8_t *p_bytes, bool p
|
|||
}
|
||||
str8.write[len] = 0;
|
||||
String str;
|
||||
str.parse_utf8((const char *)str8.ptr(), len);
|
||||
str.append_utf8((const char *)str8.ptr(), len);
|
||||
return str;
|
||||
} else {
|
||||
String str;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue