cmsDoTransform takes the number of samples, not the size of the buffer

This commit is contained in:
Sven Neumann 2006-10-25 09:05:32 +00:00
parent 13ba2a52db
commit a1c0603228
1 changed files with 1 additions and 1 deletions

View File

@ -621,7 +621,7 @@ lcms_drawable_transform (GimpDrawable *drawable,
for (y = 0; y < rgn.h; y++)
{
cmsDoTransform (transform, data, data, rgn.w * rgn.bpp);
cmsDoTransform (transform, data, data, rgn.w);
data += rgn.rowstride;
}