summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/core/String.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/String.cpp b/src/core/String.cpp
index 6d0dc56..84c8ee8 100644
--- a/src/core/String.cpp
+++ b/src/core/String.cpp
@@ -84,14 +84,14 @@ bool String::operator !=(const String &s)
String String::operator +(const String &s)
{
String new_string = *this;
- godot_string_operator_plus(&new_string._godot_string, &s._godot_string);
+ new_string._godot_string = godot_string_operator_plus(&new_string._godot_string, &s._godot_string);
return new_string;
}
void String::operator +=(const String &s)
{
- godot_string_operator_plus(&_godot_string, &s._godot_string);
+ _godot_string = godot_string_operator_plus(&_godot_string, &s._godot_string);
}
void String::operator +=(const wchar_t c)