From: Cristy Date: Sun, 2 Jul 2017 16:38:13 +0000 (-0400) Subject: ... X-Git-Tag: 7.0.6-1~95 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=655f7701507cf028fbabb204b603718e00a134f5;p=imagemagick ... --- diff --git a/MagickWand/operation.c b/MagickWand/operation.c index 09e8fbf8e..89d7f045d 100644 --- a/MagickWand/operation.c +++ b/MagickWand/operation.c @@ -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; }