]> Kevux Git Server - fll/commitdiff
Bugfix: Byte Dump program binary mode is printing wrong number of padding.
authorKevin Day <kevin@kevux.org>
Thu, 27 Jul 2023 02:37:44 +0000 (21:37 -0500)
committerKevin Day <kevin@kevux.org>
Thu, 27 Jul 2023 02:37:44 +0000 (21:37 -0500)
level_3/byte_dump/c/private-byte_dump.c

index c85cc99ac9570bc8098e52f5c1440a3965312657..718c87c681bf08c76dddc6adc5d7cb0f5f99cf65 100644 (file)
@@ -294,7 +294,7 @@ extern "C" {
             }
           }
           else if (data->mode == byte_dump_mode_binary_e) {
-            if (!(cell.column % 6)) {
+            if (!(cell.column % 4)) {
               f_print_dynamic_raw(f_string_space_s, data->main->output.to.stream);
             }
           }