@@ -3236,7 +3236,7 @@ std::ostream& Nikon3MakerNote::printLensId(std::ostream& os, const Value& value,
32363236 */
32373237 if (auto pf = Exiv2::find (fmountlens, vid))
32383238 return os << pf->manuf << " " << pf->lensname ;
3239- return os << value;
3239+ return os << " ( " << value << " ) " ;
32403240 }
32413241
32423242 byte raw[] = {0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x0 };
@@ -3251,14 +3251,14 @@ std::ostream& Nikon3MakerNote::printLensId(std::ostream& os, const Value& value,
32513251 ExifKey key (pre + std::string (tags[i]));
32523252 auto md = metadata->findKey (key);
32533253 if (md == metadata->end () || md->typeId () != unsignedByte || md->count () == 0 ) {
3254- return os << value;
3254+ return os << " ( " << value << " ) " ;
32553255 }
32563256 raw[i] = static_cast <byte>(md->toInt64 ());
32573257 }
32583258
32593259 auto md = metadata->findKey (ExifKey (" Exif.Nikon3.LensType" ));
32603260 if (md == metadata->end () || md->typeId () != unsignedByte || md->count () == 0 ) {
3261- return os << value;
3261+ return os << " ( " << value << " ) " ;
32623262 }
32633263 raw[7 ] = static_cast <byte>(md->toInt64 ());
32643264
@@ -3282,9 +3282,9 @@ std::ostream& Nikon3MakerNote::printLensId(std::ostream& os, const Value& value,
32823282 }
32833283 }
32843284 // Lens not found in database
3285- return os << value;
3285+ return os << " ( " << value << " ) " ;
32863286#else
3287- return os << value;
3287+ return os << " ( " << value << " ) " ;
32883288#endif // EXV_HAVE_LENSDATA
32893289}
32903290
@@ -3907,7 +3907,7 @@ std::ostream& Nikon3MakerNote::printLensId4ZMount(std::ostream& os, const Value&
39073907 for (auto && [l, manuf, lensname] : zmountlens)
39083908 if (l == lid)
39093909 return os << manuf << " " << lensname;
3910- return os << lid ;
3910+ return os << " ( " << value << " ) " ;
39113911}
39123912
39133913std::ostream& Nikon3MakerNote::printApertureLd4 (std::ostream& os, const Value& value, const ExifData*) {
0 commit comments