From 30681df133275673c861abcd2044d0dfd109b16a Mon Sep 17 00:00:00 2001 From: Oliver Duis Date: Sat, 7 Apr 2012 18:10:52 +0200 Subject: [PATCH] Fixed auto DCP detection did not work with some camera makers see issue 1312 --- rtengine/dcp.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rtengine/dcp.cc b/rtengine/dcp.cc index aaec65d2d..a044039c0 100644 --- a/rtengine/dcp.cc +++ b/rtengine/dcp.cc @@ -446,7 +446,7 @@ DCPProfile* DCPStore::getProfile (Glib::ustring filename) { } DCPProfile* DCPStore::getStdProfile(Glib::ustring camShortName) { - std::map::iterator r = fileStdProfiles.find (camShortName); + std::map::iterator r = fileStdProfiles.find (camShortName.uppercase()); if (r==fileStdProfiles.end()) return NULL; return getProfile(r->second);