Fix wrong focal length for Pentax K200D, as reported in #3654

This commit is contained in:
heckflosse
2017-04-16 23:48:20 +02:00
parent 34be802c92
commit 931db7ab4e

View File

@@ -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, "K100D Super")) || strstr(model, "K110D") || strstr(model, "645Z")) {
if( strstr(model, "*ist") || strstr(model, "GX-1") || strstr(model, "K200D") || (strstr(model, "K100D") && !strstr(model, "K100D Super")) || strstr(model, "K110D") || strstr(model, "645Z")) {
offsetFirst = 3; // LensInfo
} else if( strstr(model, "645D") ) {
offsetFirst = 13; // LensInfo3