From 989d4ee34212a6db5037e4b3abf8a1dd6384f807 Mon Sep 17 00:00:00 2001 From: "Steinar H. Gunderson" Date: Sun, 5 Aug 2007 10:58:23 +0200 Subject: [PATCH] Fix a warning. --- perl/Sesse/pr0n/Common.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/perl/Sesse/pr0n/Common.pm b/perl/Sesse/pr0n/Common.pm index 22e7195..e929b65 100644 --- a/perl/Sesse/pr0n/Common.pm +++ b/perl/Sesse/pr0n/Common.pm @@ -551,7 +551,7 @@ sub make_infobox { push @classic_fields, $info->{'ISOSetting'} . " ISO"; } - if (defined($info->{'ExposureBiasValue'}) && $info->{'ExposureBiasValue'} != 0) { + if (defined($info->{'ExposureBiasValue'}) && $info->{'ExposureBiasValue'} ne "0") { push @classic_fields, $info->{'ExposureBiasValue'} . " EV"; } elsif (defined($info->{'ExposureCompensation'}) && $info->{'ExposureCompensation'} != 0) { push @classic_fields, $info->{'ExposureCompensation'} . " EV"; -- 2.39.2