From 1f6b67f33d47dd0416564fdad5cffb912f1b8799 Mon Sep 17 00:00:00 2001 From: Kevin Day Date: Mon, 15 Nov 2021 17:34:06 -0600 Subject: [PATCH] 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. --- level_3/byte_dump/c/private-byte_dump.c | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) 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) { -- 1.8.3.1