瀏覽代碼

Use uppercase for all hexadecimal constants in the editor help

Hugo Locurcio 6 年之前
父節點
當前提交
6516098d12
共有 1 個文件被更改,包括 2 次插入1 次删除
  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;