From: cristy Date: Sun, 25 Mar 2012 19:32:48 +0000 (+0000) Subject: (no commit message) X-Git-Tag: 7.0.1-0~5976 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=0d0de74f1eb7f2e4a52a75c10aa52b358e428634;p=imagemagick --- diff --git a/MagickWand/operation.c b/MagickWand/operation.c index e7c9a7ba0..1226b9991 100644 --- a/MagickWand/operation.c +++ b/MagickWand/operation.c @@ -3165,9 +3165,12 @@ static void CLISimpleOperatorImage(MagickCLI *cli_wand, if (LocaleCompare("repage",option+1) == 0) { if (IfNormalOp) - if (IsGeometry(arg1) == MagickFalse) - CLIWandExceptArgBreak(OptionError,"InvalidArgument",option,arg1); - (void) ResetImagePage(_image,arg1); + { + if (IsGeometry(arg1) == MagickFalse) + CLIWandExceptArgBreak(OptionError,"InvalidArgument",option, + arg1); + (void) ResetImagePage(_image,arg1); + } else (void) ParseAbsoluteGeometry("0x0+0+0",&_image->page); break;