about summary refs log tree commit diff
path: root/generator
diff options
context:
space:
mode:
Diffstat (limited to 'generator')
-rw-r--r--generator/pbmnoise.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/generator/pbmnoise.c b/generator/pbmnoise.c
index 9a537d5c..e316dafc 100644
--- a/generator/pbmnoise.c
+++ b/generator/pbmnoise.c
@@ -405,6 +405,7 @@ pbmnoise_packed(FILE *             const ofP,
 
             wordSave = bitrowByWord[words - 1];
 
+            pbm_cleanrowend_packed(bitrow0, cols);
             pbm_writepbmrow_packed(ofP, bitrow0, cols, 0);
             offset = cols % 32;
         } else {