]> Kevux Git Server - fll/commitdiff
Regression: Previous byte_dump cleanup resulted in an extra space for one character.
authorKevin Day <thekevinday@gmail.com>
Mon, 15 Nov 2021 23:34:06 +0000 (17:34 -0600)
committerKevin Day <thekevinday@gmail.com>
Mon, 15 Nov 2021 23:34:06 +0000 (17:34 -0600)
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

index 5887c84fb8125e650550e540e93f6b6b6a2b0e41..e25e256dc91d9726f687a089607573683d361eca 100644 (file)
@@ -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) {