Browse Source

Use uppercase for all hexadecimal constants in the editor help

Hugo Locurcio 6 năm trước cách đây
mục cha
commit
6516098d12
1 tập tin đã thay đổi với 2 bổ sung1 xóa
  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;