diff --git a/rtengine/improcfun.cc b/rtengine/improcfun.cc index 44edd8b17..19d6cb6c1 100644 --- a/rtengine/improcfun.cc +++ b/rtengine/improcfun.cc @@ -377,7 +377,7 @@ void ImProcFunctions::updateColorProfiles (const Glib::ustring& monitorProfile, monitorTransform = cmsCreateTransform (iprof, TYPE_Lab_FLT, monitor, TYPE_RGB_8, monitorIntent, flags); } - if (gamutCheck) { + if (gamutCheck && gamutprof) { gamutWarning.reset(new GamutWarning(iprof, gamutprof, gamutintent, gamutbpc)); }