From 34be802c928802cdee77347a3f89c64ff8c2b253 Mon Sep 17 00:00:00 2001 From: heckflosse Date: Sun, 16 Apr 2017 23:04:32 +0200 Subject: [PATCH] Fix wrong focal length for Pentax 645Z and Pentax K100D Super, as reported in #3654 --- rtexif/rtexif.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rtexif/rtexif.cc b/rtexif/rtexif.cc index 58b60ee3f..30b094d64 100644 --- a/rtexif/rtexif.cc +++ b/rtexif/rtexif.cc @@ -977,7 +977,7 @@ Tag::Tag (TagDirectory* p, FILE* f, int base) // There are 2 format pentaxLensDataAttribs int offsetFirst = 4; // LensInfo2 - if( strstr(model, "*ist") || strstr(model, "GX-1") || strstr(model, "K100D") || strstr(model, "K110D") ) { + if( strstr(model, "*ist") || strstr(model, "GX-1") || (strstr(model, "K100D") && !strstr(model, "K100D Super")) || strstr(model, "K110D") || strstr(model, "645Z")) { offsetFirst = 3; // LensInfo } else if( strstr(model, "645D") ) { offsetFirst = 13; // LensInfo3