Bladeren bron

Use uppercase for all hexadecimal constants in the editor help

Hugo Locurcio 6 jaren geleden
bovenliggende
commit
6516098d12
1 gewijzigde bestanden met toevoegingen van 2 en 1 verwijderingen
  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;