From d871ac670dc7769920fe6cd84966773388c616f6 Mon Sep 17 00:00:00 2001 From: Hugo Locurcio Date: Wed, 5 Jun 2019 16:44:20 +0200 Subject: [PATCH] Use uppercase for all hexadecimal constants in the editor help (cherry picked from commit 6516098d1216be74d6caba73d56eaaf7d30812fd) --- editor/editor_help.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/editor/editor_help.cpp b/editor/editor_help.cpp index 1842d5e1e92..bedffbcdb5f 100644 --- a/editor/editor_help.cpp +++ b/editor/editor_help.cpp @@ -175,8 +175,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;