Commit a1c06032 authored by Sven Neumann's avatar Sven Neumann

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

parent 13ba2a52
......@@ -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;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment