From: cristy Date: Thu, 14 Nov 2013 19:18:11 +0000 (+0000) Subject: (no commit message) X-Git-Tag: 7.0.1-0~3122 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=720d756a646312c8ab3af810acd1db8fa5801d15;p=imagemagick --- diff --git a/MagickWand/operation.c b/MagickWand/operation.c index 0739d97ac..db10ac080 100644 --- a/MagickWand/operation.c +++ b/MagickWand/operation.c @@ -3382,8 +3382,8 @@ static MagickBooleanType CLISimpleOperatorImage(MagickCLI *cli_wand, geometry_info.psi=0.1*_image->rows; if ((flags & PercentValue) != 0) { - geometry_info.xi*=(double) (*image)->columns/100.0; - geometry_info.psi*=(double) (*image)->rows/100.0; + geometry_info.xi*=(double) _image->columns/100.0; + geometry_info.psi*=(double) _image->rows/100.0; } new_image=VignetteImage(_image,geometry_info.rho,geometry_info.sigma, (ssize_t) ceil(geometry_info.xi-0.5),(ssize_t)