]> git.sesse.net Git - pr0n/blobdiff - perl/Sesse/pr0n/Common.pm
Make ISO prioritized over ISOSetting (D70 fix).
[pr0n] / perl / Sesse / pr0n / Common.pm
index 987463548ed3c19d79104891111b67e9874f1eef..3463fe61067930c087fd83943be7e5c3b71368dd 100644 (file)
@@ -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") {