fixed segfault in the oog check when the gamut profile is null
This commit is contained in:
parent
17dc4af424
commit
c7c8f68e32
@ -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));
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user