Make ISO prioritized over ISOSetting (D70 fix).
authorSteinar H. Gunderson <sesse@debian.org>
Sat, 19 Jan 2008 22:19:13 +0000 (23:19 +0100)
committerSteinar H. Gunderson <sesse@debian.org>
Sat, 19 Jan 2008 22:19:13 +0000 (23:19 +0100)
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") {