diff options
author | giraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8> | 2010-03-24 02:06:41 +0000 |
---|---|---|
committer | giraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8> | 2010-03-24 02:06:41 +0000 |
commit | 6cf2bd8716116d0f75d5d37e1c46372b5657c154 (patch) | |
tree | 38a8621d8609da743000304606a3b9047b0f7220 /generator | |
parent | 651d68f5652c36fbb260334f1a46a2705d8a0de8 (diff) | |
download | netpbm-mirror-6cf2bd8716116d0f75d5d37e1c46372b5657c154.tar.gz netpbm-mirror-6cf2bd8716116d0f75d5d37e1c46372b5657c154.tar.xz netpbm-mirror-6cf2bd8716116d0f75d5d37e1c46372b5657c154.zip |
Release 10.35.74
git-svn-id: http://svn.code.sf.net/p/netpbm/code/super_stable@1158 9d0c8265-081b-0410-96cb-a4ca84ce46f8
Diffstat (limited to 'generator')
-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]); |