From: Kevin Day Date: Mon, 15 Nov 2021 23:34:06 +0000 (-0600) Subject: Regression: Previous byte_dump cleanup resulted in an extra space for one character. X-Git-Tag: 0.5.7~77 X-Git-Url: https://git.kevux.org/?a=commitdiff_plain;h=1f6b67f33d47dd0416564fdad5cffb912f1b8799;p=fll Regression: Previous byte_dump cleanup resulted in an extra space for one character. The character 0xd89d is being handled in a special case. This is previous code that is now identifiable as removable. Stop handling this as a special case, avoiding the need to print extra spaces. --- diff --git a/level_3/byte_dump/c/private-byte_dump.c b/level_3/byte_dump/c/private-byte_dump.c index 5887c84..e25e256 100644 --- a/level_3/byte_dump/c/private-byte_dump.c +++ b/level_3/byte_dump/c/private-byte_dump.c @@ -736,12 +736,7 @@ extern "C" { } } else if (width_utf == 2) { - if (characters.string[i] == 0xd89d0000) { - f_print_terminated(" ", main->output.to.stream); - } - else { - print = F_true; - } + print = F_true; } else if (width_utf == 3) { if (characters.string[i] >= 0xefbfb000 && characters.string[i] <= 0xefbfbc00) {