From 2d58656d29d55f11854255b10ce8e86f49d46cec Mon Sep 17 00:00:00 2001 From: Gerd Hoffmann Date: Mon, 3 Nov 2014 12:02:54 +0100 Subject: fix reverse pbm --- rd/read-ppm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit