summaryrefslogtreecommitdiff
path: root/branches
diff options
context:
space:
mode:
authordcommander <dcommander@3789f03b-4d11-0410-bbf8-ca57d06f2519>2011-02-23 01:40:44 +0000
committerdcommander <dcommander@3789f03b-4d11-0410-bbf8-ca57d06f2519>2011-02-23 01:40:44 +0000
commitdd7a8f939135e9de16f13775564c472958619ddc (patch)
tree1716721989d54dbc2cfdbdf7cff572147fed3a04 /branches
parenteb67d15ce61f47b073c409e8a88226df98709a11 (diff)
Oops. dumpbuf() was displaying only red components.
git-svn-id: https://libjpeg-turbo.svn.sourceforge.net/svnroot/libjpeg-turbo@429 3789f03b-4d11-0410-bbf8-ca57d06f2519
Diffstat (limited to 'branches')
-rw-r--r--branches/1.1.x/jpegut.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/branches/1.1.x/jpegut.c b/branches/1.1.x/jpegut.c
index 61759b0..5a864ea 100644
--- a/branches/1.1.x/jpegut.c
+++ b/branches/1.1.x/jpegut.c
@@ -112,7 +112,7 @@ void dumpbuf(unsigned char *buf, int w, int h, int ps, int flags)
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");
}