diff --git a/core/os/file_access.cpp b/core/os/file_access.cpp index 3eac4428dab..59f07c03e73 100644 --- a/core/os/file_access.cpp +++ b/core/os/file_access.cpp @@ -270,7 +270,6 @@ String FileAccess::get_token() const { c = get_8(); } - token += '0'; return String::utf8(token.get_data()); } diff --git a/core/ustring.cpp b/core/ustring.cpp index 84613610a9d..96d142d85b2 100644 --- a/core/ustring.cpp +++ b/core/ustring.cpp @@ -3881,8 +3881,6 @@ String String::percent_decode() const { pe += c; } - pe += '0'; - return String::utf8(pe.ptr()); } diff --git a/editor/project_manager.cpp b/editor/project_manager.cpp index 95d39953cfd..91457ad9289 100644 --- a/editor/project_manager.cpp +++ b/editor/project_manager.cpp @@ -1782,7 +1782,6 @@ ProjectManager::ProjectManager() { String cp; cp += 0xA9; - cp += '0'; OS::get_singleton()->set_window_title(VERSION_NAME + String(" - ") + TTR("Project Manager") + " - " + cp + " 2007-2018 Juan Linietsky, Ariel Manzur & Godot Contributors"); HBoxContainer *top_hb = memnew(HBoxContainer);