]> granicus.if.org Git - imagemagick/commitdiff
(no commit message)
authorcristy <urban-warrior@git.imagemagick.org>
Sun, 25 Mar 2012 19:32:48 +0000 (19:32 +0000)
committercristy <urban-warrior@git.imagemagick.org>
Sun, 25 Mar 2012 19:32:48 +0000 (19:32 +0000)
MagickWand/operation.c

index e7c9a7ba0323b592812adc44391065f4e42eb2b3..1226b9991d2fa58f2d450581bf8148ea2a1b3912 100644 (file)
@@ -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;