diff options
author | Gerd Hoffmann <kraxel@redhat.com> | 2011-01-26 14:56:13 +0100 |
---|---|---|
committer | Gerd Hoffmann <kraxel@redhat.com> | 2011-01-26 14:56:13 +0100 |
commit | ecc91c35b0c1c672f3a89865eb9c5e240ad5b0ef (patch) | |
tree | c85381206eed7ee1d9009c8426d86b1bf48f6963 /rd/read-png.c | |
parent | c7cffca26b92eeb863b636b688358cde5e1f1807 (diff) | |
download | fbida-ecc91c35b0c1c672f3a89865eb9c5e240ad5b0ef.tar.gz |
whitespace cleanup
Diffstat (limited to 'rd/read-png.c')
-rw-r--r-- | rd/read-png.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/rd/read-png.c b/rd/read-png.c index c4f82d2..92e7b4a 100644 --- a/rd/read-png.c +++ b/rd/read-png.c @@ -36,7 +36,7 @@ png_init(FILE *fp, char *filename, unsigned int page, .gray = 192, }; int unit; - + h = malloc(sizeof(*h)); memset(h,0,sizeof(*h)); @@ -62,7 +62,7 @@ png_init(FILE *fp, char *filename, unsigned int page, if (debug) fprintf(stderr,"png: color_type=%s #1\n",ct[h->color_type]); i->npages = 1; - + png_set_packing(h->png); if (bit_depth == 16) png_set_strip_16(h->png); @@ -83,9 +83,9 @@ png_init(FILE *fp, char *filename, unsigned int page, h->color_type = png_get_color_type(h->png, h->info); if (debug) fprintf(stderr,"png: color_type=%s #2\n",ct[h->color_type]); - + h->image = malloc(i->width * i->height * 4); - + for (pass = 0; pass < number_passes-1; pass++) { if (debug) fprintf(stderr,"png: pass #%d\n",pass); |