diff options
Diffstat (limited to 'generator/pbmpage.c')
-rw-r--r-- | generator/pbmpage.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/generator/pbmpage.c b/generator/pbmpage.c index e10ee6d6..fcf7af42 100644 --- a/generator/pbmpage.c +++ b/generator/pbmpage.c @@ -246,6 +246,9 @@ main(int argc,char** argv) { bitmap.Pwidth = (Width + 7) / 8; bitmap.bitmap = malloc(bitmap.Pwidth * bitmap.Height); + for (x = 0; x < bitmap.Pwidth * bitmap.Height; ++x) + bitmap.bitmap[x] = 0x00; + if (argc>1) TP = atoi(argv[1]); |