diff options
author | Gerd Hoffmann <kraxel@redhat.com> | 2014-11-03 12:02:54 +0100 |
---|---|---|
committer | Gerd Hoffmann <kraxel@redhat.com> | 2014-11-03 12:02:54 +0100 |
commit | 2d58656d29d55f11854255b10ce8e86f49d46cec (patch) | |
tree | ff03bb3c0518ab6b954c3d6cead33bd13a38f3d1 /rd/read-ppm.c | |
parent | fe9889aba7cd0be1834c5c4960ea90dd8eadc29f (diff) | |
download | fbida-2d58656d29d55f11854255b10ce8e86f49d46cec.tar.gz |
fix reverse pbm
Diffstat (limited to 'rd/read-ppm.c')
-rw-r--r-- | rd/read-ppm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/rd/read-ppm.c b/rd/read-ppm.c index 210e4c3..bdfea1f 100644 --- a/rd/read-ppm.c +++ b/rd/read-ppm.c @@ -83,7 +83,7 @@ pbm_read(unsigned char *dst, unsigned int line, void *data) bpl = ((h->width+7) >> 3); fread(h->row,bpl,1,h->infile); - load_bits_msb(dst,(unsigned char*)(h->row),h->width,255,0); + load_bits_msb(dst,(unsigned char*)(h->row),h->width,0,255); } static void |