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

Use uppercase for all hexadecimal constants in the editor help
This commit is contained in:
Rémi Verschelde 2019-06-11 11:51:59 +02:00 committed by GitHub
commit bc75ef5ad0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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