aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGerd Hoffmann <kraxel@redhat.com>2014-11-03 12:02:54 +0100
committerGerd Hoffmann <kraxel@redhat.com>2014-11-03 12:02:54 +0100
commit2d58656d29d55f11854255b10ce8e86f49d46cec (patch)
treeff03bb3c0518ab6b954c3d6cead33bd13a38f3d1
parentfe9889aba7cd0be1834c5c4960ea90dd8eadc29f (diff)
downloadfbida-2d58656d29d55f11854255b10ce8e86f49d46cec.tar.gz
fix reverse pbm
-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