Browse Source

Created operator.

Created String::operator+=(const wchar_t), that was mark as Todo.
TerraAr 5 years ago
parent
commit
a1ba843f36
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/core/String.cpp

+ 1 - 1
src/core/String.cpp

@@ -135,7 +135,7 @@ void String::operator+=(const String &s) {
 }
 
 void String::operator+=(const wchar_t c) {
-	// @Todo
+	_godot_string = godot::api->godot_string_operator_plus(&_godot_string, &(String(c)._godot_string));
 }
 
 bool String::operator<(const String &s) const {