소스 검색

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

Use uppercase for all hexadecimal constants in the editor help
Rémi Verschelde 6 년 전
부모
커밋
bc75ef5ad0
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;