]> granicus.if.org Git - imagemagick/commitdiff
...
authorCristy <urban-warrior@imagemagick.org>
Sun, 2 Jul 2017 16:38:13 +0000 (12:38 -0400)
committerCristy <urban-warrior@imagemagick.org>
Sun, 2 Jul 2017 16:38:13 +0000 (12:38 -0400)
MagickWand/operation.c

index 09e8fbf8eb16e0f9e0fa8c1b93f9277a3050cf52..89d7f045d702e4d0bf2c4bbbdec8a91cf43127dd 100644 (file)
@@ -1812,7 +1812,7 @@ static MagickBooleanType CLISimpleOperatorImage(MagickCLI *cli_wand,
             method;
 
           method=(AutoThresholdMethod) ParseCommandOption(
-            MagickAutoThresholdOptions,MagickFalse,argv[i+1]);
+            MagickAutoThresholdOptions,MagickFalse,arg1);
           (void) AutoThresholdImage(_image,method,_exception);
           break;
         }