aboutsummaryrefslogtreecommitdiffstats
path: root/rd
diff options
context:
space:
mode:
Diffstat (limited to 'rd')
-rw-r--r--rd/read-ppm.c2
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