fix variable name usage in Imager work from haarg after rebase

This commit is contained in:
Scott Walters 2012-11-02 17:19:30 -04:00
parent fc998d9629
commit 88dbf7b187

View file

@ -1612,7 +1612,7 @@ sub resize {
$width = $height * $x / $y;
}
$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;
}