From: Steinar H. Gunderson Date: Sat, 19 Jan 2008 22:19:13 +0000 (+0100) Subject: Make ISO prioritized over ISOSetting (D70 fix). X-Git-Url: https://git.sesse.net/?p=pr0n;a=commitdiff_plain;h=b3731a6d90f8d8bc547b4af5c815b039cc40aadf Make ISO prioritized over ISOSetting (D70 fix). --- diff --git a/perl/Sesse/pr0n/Common.pm b/perl/Sesse/pr0n/Common.pm index 9874635..3463fe6 100644 --- a/perl/Sesse/pr0n/Common.pm +++ b/perl/Sesse/pr0n/Common.pm @@ -559,10 +559,10 @@ sub make_infobox { if (defined($info->{'NikonD1-ISOSetting'})) { push @classic_fields, [ $info->{'NikonD1-ISOSetting'}->[1] . " ISO", 0 ]; - } elsif (defined($info->{'ISOSetting'})) { - push @classic_fields, [ $info->{'ISOSetting'} . " ISO" ]; } elsif (defined($info->{'ISO'})) { push @classic_fields, [ $info->{'ISO'} . " ISO" ]; + } elsif (defined($info->{'ISOSetting'})) { + push @classic_fields, [ $info->{'ISOSetting'} . " ISO" ]; } if (defined($info->{'ExposureBiasValue'}) && $info->{'ExposureBiasValue'} ne "0") {