From 9f1e830b50229f9fce39ef92b1bb1bf405ee2dd6 Mon Sep 17 00:00:00 2001 From: baldurk Date: Mon, 28 Aug 2017 18:33:08 +0100 Subject: [PATCH] Don't use uppercase 0X for alternate form hex printing --- renderdoc/serialise/utf8printf.cpp | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/renderdoc/serialise/utf8printf.cpp b/renderdoc/serialise/utf8printf.cpp index a94250681..65e52d1d2 100644 --- a/renderdoc/serialise/utf8printf.cpp +++ b/renderdoc/serialise/utf8printf.cpp @@ -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