Преглед на файлове

Add missing / for center tag in __print_line_rich

Cyril B. преди 5 месеца
родител
ревизия
de5c1f9707
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      core/string/print_string.cpp

+ 1 - 1
core/string/print_string.cpp

@@ -148,7 +148,7 @@ void __print_line_rich(const String &p_string) {
 			output += "";
 		} else if (tag == "center") {
 			output += "\n\t\t\t";
-		} else if (tag == "center") {
+		} else if (tag == "/center") {
 			output += "";
 		} else if (tag == "right") {
 			output += "\n\t\t\t\t\t\t";