From 354df735e0c882906da41676fe95c861e05402f1 Mon Sep 17 00:00:00 2001 From: DrSlony Date: Tue, 17 Mar 2015 13:01:59 +0100 Subject: [PATCH] Fixed the fix to issue 2713 --- rtengine/imagedata.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/rtengine/imagedata.cc b/rtengine/imagedata.cc index 00a478059..1b6a770a0 100644 --- a/rtengine/imagedata.cc +++ b/rtengine/imagedata.cc @@ -128,9 +128,10 @@ void ImageData::extractInfo () { } make.erase( make.find_last_not_of(' ')+1 ); } + if (root->getTag ("Model")) - if( !(model.size()==0)) { model = root->getTag ("Model")->valueToString (); + if (!(model.size()==0)) { std::size_t i=0; if ( make.find("KODAK") != std::string::npos ){ if( (i = model.find(" DIGITAL CAMERA")) != std::string::npos ||