X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=perl%2FSesse%2Fpr0n%2FCommon.pm;h=e929b654d998e8674fd141d9f0a62592d70415f1;hb=989d4ee34212a6db5037e4b3abf8a1dd6384f807;hp=22e7195379744a08a783355fd08f9c8d75af1df5;hpb=7862de1a0f4f9a610c81356175c099c00ebc2000;p=pr0n 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";