mirror of
https://github.com/godotengine/godot.git
synced 2025-04-13 01:00:35 +08:00
Don't add to StringBuilder empty String
This commit is contained in:
parent
d86c9ef2e6
commit
df03d9c2c5
@ -34,6 +34,9 @@
|
||||
|
||||
StringBuilder &StringBuilder::append(const String &p_string) {
|
||||
|
||||
if (p_string == String())
|
||||
return *this;
|
||||
|
||||
strings.push_back(p_string);
|
||||
appended_strings.push_back(-1);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user