From 43d27be85fa39cc606d8e9e5c685fce9adb7092f Mon Sep 17 00:00:00 2001 From: giraffedata Date: Mon, 31 Jan 2022 01:06:12 +0000 Subject: Set don't care bits to zero to make output more usable for tests git-svn-id: http://svn.code.sf.net/p/netpbm/code/trunk@4269 9d0c8265-081b-0410-96cb-a4ca84ce46f8 --- generator/pbmnoise.c | 1 + 1 file changed, 1 insertion(+) (limited to 'generator') 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 { -- cgit 1.4.1