From ad7c97202c17923172d85496180fb9ac3af15a1c Mon Sep 17 00:00:00 2001 From: Oliver Duis Date: Tue, 18 Oct 2011 21:35:37 +0200 Subject: [PATCH] Fixed Camera standard or ICC crashes on non-existing profile on behalf of Hombre; see issue 1045 --- rtengine/iccstore.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rtengine/iccstore.cc b/rtengine/iccstore.cc index 3a408327a..e62a9d11d 100644 --- a/rtengine/iccstore.cc +++ b/rtengine/iccstore.cc @@ -180,7 +180,7 @@ cmsHPROFILE ICCStore::getStdProfile (Glib::ustring name) { std::map::iterator r = fileStdProfiles.find (name.uppercase()); - if (r==fileProfiles.end()) return NULL; + if (r==fileStdProfiles.end()) return NULL; return r->second; }