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-Tag: 0.6.2~77 X-Git-Url: https://git.kevux.org/?a=commitdiff_plain;h=7caf083bad734d8ea930a23ddfd95b58a6572997;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 2d94f96..156b206 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.stream, unicode); } else { - fl_print_format(" U+%06_U ", data->main->output.to.stream, unicode); + fl_print_format(" U+%06_U", data->main->output.to.stream, 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.stream); + f_print_terminated(" ", data->main->output.to.stream); } if (invalid[current]) {