Don't use uppercase 0X for alternate form hex printing

This commit is contained in:
baldurk
2017-08-28 18:33:08 +01:00
parent a6e2e9fea5
commit 9f1e830b50
+1 -4
View File
@@ -207,10 +207,7 @@ void PrintInteger(bool typeUnsigned, uint64_t argu, int base, uint64_t numbits,
{
if(formatter.Flags & AlternateForm)
{
if(uppercaseDigits)
appendstring(output, actualsize, end, "0X");
else
appendstring(output, actualsize, end, "0x");
appendstring(output, actualsize, end, "0x");
}
// pad with 0s as appropriate