Răsfoiți Sursa

Merge pull request #29508 from Calinou/doc-hex-constant-uppercase

Use uppercase for all hexadecimal constants in the editor help
Rémi Verschelde 6 ani în urmă
părinte
comite
bc75ef5ad0
1 a modificat fișierele cu 2 adăugiri și 1 ștergeri
  1. 2 1
      editor/editor_help.cpp

+ 2 - 1
editor/editor_help.cpp

@@ -203,8 +203,9 @@ String EditorHelp::_fix_constant(const String &p_constant) const {
 	if (p_constant.strip_edges() == "2147483647") {
 		return "0x7FFFFFFF";
 	}
+
 	if (p_constant.strip_edges() == "1048575") {
-		return "0xfffff";
+		return "0xFFFFF";
 	}
 
 	return p_constant;