From: Kevin Day Date: Sat, 11 Dec 2021 04:46:07 +0000 (-0600) Subject: Bugfix: Do not use 4 digits when should be printing 2 digit hexdigit. X-Git-Tag: 0.5.7~52 X-Git-Url: https://git.kevux.org/?a=commitdiff_plain;h=8fb78ac372e7d5cfc0ea700c76ccac4f2f921327;p=fll Bugfix: Do not use 4 digits when should be printing 2 digit hexdigit. --- diff --git a/level_3/utf8/c/private-print.c b/level_3/utf8/c/private-print.c index 70b1795..42d6da5 100644 --- a/level_3/utf8/c/private-print.c +++ b/level_3/utf8/c/private-print.c @@ -25,7 +25,7 @@ extern "C" { fl_print_format("%s%[0x", data->file.stream, data->prepend, set); for (uint8_t i = 0; i < character.used; ++i) { - fl_print_format("%04_uii", data->file.stream, (uint8_t) character.string[i]); + fl_print_format("%02_uii", data->file.stream, (uint8_t) character.string[i]); } // for fl_print_format("%]%s", data->file.stream, set, data->append);