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

index 8fd8cd6e0cecb10da842512e9eae6d3361d94c72..4b01206ec7eb5e8735c7f6f08c9af808e14e8bc1 100644 (file)
@@ -761,11 +761,11 @@ WandExport MagickBooleanType ConvertImageCommand(ImageInfo *image_info,
               break;
             i++;
             if (i == (ssize_t) argc)
-              ThrowMogrifyException(OptionError,"MissingArgument",option);
+              ThrowConvertException(OptionError,"MissingArgument",option);
             method=ParseCommandOption(MagickAutoThresholdOptions,MagickFalse,
               argv[i]);
             if (method < 0)
-              ThrowMogrifyException(OptionError,"UnrecognizedThresholdMethod",
+              ThrowConvertException(OptionError,"UnrecognizedThresholdMethod",
                 argv[i]);
             break;
           }