From: Kevin Day Date: Thu, 3 Nov 2022 02:45:17 +0000 (-0500) Subject: Bugfix: Incorect spacing when combining --unicode with other digit displays. X-Git-Url: https://git.kevux.org/?a=commitdiff_plain;h=3a3c04cfb28ee8c537ed04e42417d918955dac49;p=fll Bugfix: Incorect spacing when combining --unicode with other digit displays. The original calculations are again the 6-digit Unicode "U+1234". There are also 8-digit Unicodes "U+123456". --- diff --git a/level_3/byte_dump/c/private-byte_dump.c b/level_3/byte_dump/c/private-byte_dump.c index ae910e2..186bb73 100644 --- a/level_3/byte_dump/c/private-byte_dump.c +++ b/level_3/byte_dump/c/private-byte_dump.c @@ -470,7 +470,7 @@ extern "C" { fl_print_format(" U+%04_U ", data->main->output.to, unicode); } else { - fl_print_format(" U+%06_U ", data->main->output.to, unicode); + fl_print_format(" U+%06_U", data->main->output.to, unicode); } } else { @@ -494,7 +494,7 @@ extern "C" { } else if (data->mode == byte_dump_mode_duodecimal_e) { if (data->main->parameters.array[byte_dump_parameter_unicode_e].result == f_console_result_found_e) { - f_print_terminated(" ", data->main->output.to); + f_print_terminated(" ", data->main->output.to); } if (invalid[current]) {