diff --git a/rtexif/nikonattribs.cc b/rtexif/nikonattribs.cc index 3d844d2af..3cb7a442e 100644 --- a/rtexif/nikonattribs.cc +++ b/rtexif/nikonattribs.cc @@ -23,7 +23,6 @@ #include #include #include - #include "rtexif.h" using namespace std; @@ -543,7 +542,16 @@ public: if (r != lenses.end()) { if (r == lenses.begin() && EffectiveMaxApertureString != "") { // first entry is for unchipped lenses - ld << "Lens = Unknown $FL$mm f/" << EffectiveMaxApertureString; + Tag *FLTag = t->getParent()->getRoot()->findTag ("FocalLength"); + ld << "Lens = MF "; + + if(FLTag) { + ld << FLTag->valueToString () << "mm"; + } else { + ld << "0mm"; + } + + ld << " f/" << EffectiveMaxApertureString; } else { ld << "Lens = " << r->second; }