From 6fad6606098130a2a64197a933e98cc984175dfb Mon Sep 17 00:00:00 2001 From: "Steinar H. Gunderson" Date: Wed, 4 Nov 2009 15:26:47 +0100 Subject: [PATCH] Fix a typo in the do-not-need-to-scale code. --- 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 2ab7b3a..d325907 100644 --- a/perl/Sesse/pr0n/Common.pm +++ b/perl/Sesse/pr0n/Common.pm @@ -706,7 +706,7 @@ sub ensure_cached { my $fname = get_disk_location($r, $id); if ($infobox ne 'box') { - unless (defined($xres) && (!defined($dbwidth) || !defined($dbheight) || $xres < $dbheight || $yres < $dbwidth || $xres == -1)) { + unless (defined($xres) && (!defined($dbwidth) || !defined($dbheight) || $xres < $dbwidth || $yres < $dbheight || $xres == -1)) { return ($fname, undef); } } -- 2.39.2