From 21e92ae015914540d904a3ceb1149528b059f3f7 Mon Sep 17 00:00:00 2001 From: Brian Fiete Date: Sat, 27 Apr 2024 08:38:35 -0400 Subject: [PATCH] Lowercase hex fix --- IDEHelper/WinDebugger.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/IDEHelper/WinDebugger.cpp b/IDEHelper/WinDebugger.cpp index 52486e2d..4b79183a 100644 --- a/IDEHelper/WinDebugger.cpp +++ b/IDEHelper/WinDebugger.cpp @@ -6262,7 +6262,6 @@ static String IntTypeToString(T val, const StringImpl& name, DwDisplayInfo* disp return StrFormat(format.c_str(), (std::make_unsigned::type)(val)); } - //TODO: Implement HexadecimalLower if (intDisplayType == DwIntDisplayType_HexadecimalLower) { String format; @@ -6271,8 +6270,8 @@ static String IntTypeToString(T val, const StringImpl& name, DwDisplayInfo* disp format = StrFormat("0x%%l@\n%s", name.c_str()); } else - format = StrFormat("0x%%0%dX\n%s", sizeof(val) * 2, name.c_str()); - return StrFormat(format.c_str(), (std::make_unsigned::type)(val)); + format = StrFormat("0x%%0%dx\n%s", sizeof(val) * 2, name.c_str()); + return ToLower(StrFormat(format.c_str(), (std::make_unsigned::type)(val))); } if (std::is_unsigned::value)