]> granicus.if.org Git - imagemagick/commitdiff
(no commit message)
authorcristy <urban-warrior@git.imagemagick.org>
Sun, 17 Feb 2013 00:35:35 +0000 (00:35 +0000)
committercristy <urban-warrior@git.imagemagick.org>
Sun, 17 Feb 2013 00:35:35 +0000 (00:35 +0000)
MagickWand/operation.c

index 22be52a99b5a7456925d74e609d55d9bcee34dbd..b6adac48b15bc0a0662e037f2f986df1f8ae5573 100644 (file)
@@ -4203,7 +4203,7 @@ WandPrivate MagickBooleanType CLIListOperatorImages(MagickCLI *cli_wand,
 
           swap_index=(-1);
           flags=ParseGeometry(arg1,&geometry_info);
-          if ((flags & RhoValue) != 0)
+          if ((flags & RhoValue) == 0)
             CLIWandExceptArgBreak(OptionError,"InvalidArgument",option,arg1);
           index=(ssize_t) geometry_info.rho;
           if ((flags & SigmaValue) != 0)