Fix a ne/!= issue, for the second time.
authorSteinar H. Gunderson <sesse@debian.org>
Sat, 24 Oct 2009 11:41:11 +0000 (13:41 +0200)
committerSteinar H. Gunderson <sesse@debian.org>
Sat, 24 Oct 2009 11:41:11 +0000 (13:41 +0200)
perl/Sesse/pr0n/Common.pm

index 54ba1d3bc61251897b925e313169c40b4d525214..277d699a4a768d1c2584304fe1e6eff1dd690531 100644 (file)
@@ -915,7 +915,7 @@ sub make_infobox {
 
        if (defined($info->{'ExposureBiasValue'}) && $info->{'ExposureBiasValue'} ne "0") {
                push @classic_fields, [ $info->{'ExposureBiasValue'} . " EV", 0 ];
-       } elsif (defined($info->{'ExposureCompensation'}) && $info->{'ExposureCompensation'} != 0) {
+       } elsif (defined($info->{'ExposureCompensation'}) && $info->{'ExposureCompensation'} ne "0") {
                push @classic_fields, [ $info->{'ExposureCompensation'} . " EV", 0 ];
        }