aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--jpegut.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/jpegut.c b/jpegut.c
index 055e52c..9c41e50 100644
--- a/jpegut.c
+++ b/jpegut.c
@@ -114,7 +114,7 @@ void dumpbuf(unsigned char *buf, int w, int h, int ps, int scalefactor,
for(j=0; j<w; j++)
{
printf("%.3d/%.3d/%.3d ", buf[(w*i+j)*ps+roffset],
- buf[(w*i+j)*ps+roffset], buf[(w*i+j)*ps+roffset]);
+ buf[(w*i+j)*ps+goffset], buf[(w*i+j)*ps+boffset]);
}
printf("\n");
}