fix variable name usage in Imager work from haarg after rebase
This commit is contained in:
parent
fc998d9629
commit
88dbf7b187
1 changed files with 1 additions and 1 deletions
|
|
@ -1612,7 +1612,7 @@ sub resize {
|
||||||
$width = $height * $x / $y;
|
$width = $height * $x / $y;
|
||||||
}
|
}
|
||||||
$self->session->errorHandler->info( "Resizing $filename to w:$width h:$height" );
|
$self->session->errorHandler->info( "Resizing $filename to w:$width h:$height" );
|
||||||
$image = $image->scale(xpixels => $n, ypixels => $n, type => 'nonprop')
|
$image = $image->scale(xpixels => $width, ypixels => $height, type => 'nonprop')
|
||||||
or die $image->errstr;
|
or die $image->errstr;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue