diff --git a/rtengine/imagedata.cc b/rtengine/imagedata.cc index df043c86f..c1a5b898d 100644 --- a/rtengine/imagedata.cc +++ b/rtengine/imagedata.cc @@ -265,7 +265,7 @@ FramesData::FramesData(const Glib::ustring &fname) : if (lens.empty()) { lens = "Unknown"; } - if (lens.empty()) { + if (lens.empty() || lens.find_first_not_of('-') == std::string::npos) { lens = "Unknown"; }