summaryrefslogtreecommitdiffstats
path: root/core/string
diff options
context:
space:
mode:
Diffstat (limited to 'core/string')
-rw-r--r--core/string/string_builder.cpp2
-rw-r--r--core/string/string_builder.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/core/string/string_builder.cpp b/core/string/string_builder.cpp
index 4f74a2e42d..7661a8434a 100644
--- a/core/string/string_builder.cpp
+++ b/core/string/string_builder.cpp
@@ -70,7 +70,7 @@ String StringBuilder::as_string() const {
for (int i = 0; i < appended_strings.size(); i++) {
if (appended_strings[i] == -1) {
- // Godot string
+ // Redot string
const String &s = strings[godot_string_elem];
memcpy(buffer + current_position, s.ptr(), s.length() * sizeof(char32_t));
diff --git a/core/string/string_builder.h b/core/string/string_builder.h
index 1a989e8422..434815d96f 100644
--- a/core/string/string_builder.h
+++ b/core/string/string_builder.h
@@ -40,7 +40,7 @@ class StringBuilder {
Vector<String> strings;
Vector<const char *> c_strings;
- // -1 means it's a Godot String
+ // -1 means it's a Redot String
// a natural number means C string.
Vector<int32_t> appended_strings;