From: Kevin Day Date: Thu, 27 May 2021 00:33:08 +0000 (-0500) Subject: Cleanup: The byte_dump program should use uppercase when printing unicode codes. X-Git-Tag: 0.5.4~23 X-Git-Url: https://git.kevux.org/?a=commitdiff_plain;h=b6e93045530c8503b32a3853fe254c7805a35e11;p=fll Cleanup: The byte_dump program should use uppercase when printing unicode codes. --- diff --git a/level_3/byte_dump/c/private-byte_dump.c b/level_3/byte_dump/c/private-byte_dump.c index 889eed3..ee7e116 100644 --- a/level_3/byte_dump/c/private-byte_dump.c +++ b/level_3/byte_dump/c/private-byte_dump.c @@ -390,10 +390,10 @@ extern "C" { } if (width_utf < 4) { - fprintf(main.output.stream, " U+%04x ", (uint32_t) unicode); + fprintf(main.output.stream, " U+%04X ", (uint32_t) unicode); } else { - fprintf(main.output.stream, " U+%06x", (uint32_t) unicode); + fprintf(main.output.stream, " U+%06X", (uint32_t) unicode); } } else {