From: cristy Date: Wed, 9 Feb 2011 23:30:02 +0000 (+0000) Subject: (no commit message) X-Git-Tag: 7.0.1-0~8203 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=56823661d4c5ffecc0d25eb97cb11829692493f4;p=imagemagick --- diff --git a/wand/convert.c b/wand/convert.c index 5ab1dcef1..c72b152e0 100644 --- a/wand/convert.c +++ b/wand/convert.c @@ -2534,8 +2534,6 @@ WandExport MagickBooleanType ConvertImageCommand(ImageInfo *image_info, } if (LocaleCompare("smush",option+1) == 0) { - if (*option == '+') - break; i++; if (i == (ssize_t) (argc-1)) ThrowConvertException(OptionError,"MissingArgument",option); diff --git a/wand/mogrify.c b/wand/mogrify.c index 12a5cee8a..d12aa5a6b 100644 --- a/wand/mogrify.c +++ b/wand/mogrify.c @@ -5967,8 +5967,6 @@ WandExport MagickBooleanType MogrifyImageCommand(ImageInfo *image_info, } if (LocaleCompare("smush",option+1) == 0) { - if (*option == '+') - break; i++; if (i == (ssize_t) argc) ThrowMogrifyException(OptionError,"MissingArgument",option);