Missed LCMSSafeMode in one position, thanks Jacques

This commit is contained in:
Oliver Duis
2011-04-19 09:36:35 +02:00
parent 892f1b1187
commit 52c3e66208

View File

@@ -92,7 +92,9 @@ void ImProcFunctions::lab2rgb (LabImage* lab, Image8* image) {
buffer[iy++] = CLIP01(z_);
}
if (settings->LCMSSafeMode) lcmsMutex->lock ();
cmsDoTransform (monitorTransform, buffer, image->data + ix, lab->W);
if (settings->LCMSSafeMode) lcmsMutex->unlock ();
}
} else {