Fixed Camera standard or ICC crashes on non-existing profile
on behalf of Hombre; see issue 1045
This commit is contained in:
@@ -180,7 +180,7 @@ cmsHPROFILE ICCStore::getStdProfile (Glib::ustring name) {
|
||||
|
||||
|
||||
std::map<std::string, cmsHPROFILE>::iterator r = fileStdProfiles.find (name.uppercase());
|
||||
if (r==fileProfiles.end()) return NULL;
|
||||
if (r==fileStdProfiles.end()) return NULL;
|
||||
|
||||
return r->second;
|
||||
}
|
||||
|
Reference in New Issue
Block a user