projects
/
pr0n
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
0d94c30
)
Fix another bug relating to the "-1x-1" (ie. original size, but still with
author
Steinar H. Gunderson
<sesse@debian.org>
Mon, 9 Jun 2008 02:11:11 +0000
(
04:11
+0200)
committer
Steinar H. Gunderson
<sesse@debian.org>
Mon, 9 Jun 2008 02:11:11 +0000
(
04:11
+0200)
pr0n processing) size.
perl/Sesse/pr0n/Common.pm
patch
|
blob
|
history
diff --git
a/perl/Sesse/pr0n/Common.pm
b/perl/Sesse/pr0n/Common.pm
index 4dca96a60d426e2e34185f28878aa80a297d39db..6f45d55d903186aa6dc489f208519fd98574887f 100644
(file)
--- a/
perl/Sesse/pr0n/Common.pm
+++ b/
perl/Sesse/pr0n/Common.pm
@@
-408,7
+408,7
@@
sub make_mipmap {
my $large_enough = 1;
for my $i (0..($#res/2)) {
my ($xres, $yres) = ($res[$i*2], $res[$i*2+1]);
- if ($xres > $new_mmwidth || $yres > $new_mmheight) {
+ if ($xres
== -1 || $xres
> $new_mmwidth || $yres > $new_mmheight) {
$large_enough = 0;
last;
}