From: anthony Date: Fri, 6 Apr 2012 02:31:40 +0000 (+0000) Subject: (no commit message) X-Git-Tag: 7.0.1-0~5889 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=715272550d50d64956998e32151c9f6587cae76b;p=imagemagick --- diff --git a/MagickWand/magick-cli.c b/MagickWand/magick-cli.c index 33ad1c7ad..0fcf8767f 100644 --- a/MagickWand/magick-cli.c +++ b/MagickWand/magick-cli.c @@ -60,7 +60,7 @@ 3 - option type details 9 - output options/artifacts/propertys */ -#define MagickCommandDebug 0 +#define MagickCommandDebug 3 #define ThrowFileException(exception,severity,tag,context) \ { \ @@ -290,7 +290,7 @@ WandExport void ProcessScriptOptions(MagickCLI *cli_wand,int argc,char **argv, /* fall through - do the depreciated option */ } if (((option_type & ImageRequiredFlags) != 0 ) && - ( cli_wand->wand.images != (Image *)NULL ) ) { + ( cli_wand->wand.images == (Image *)NULL ) ) { CLIWandException(OptionError,"NoImagesFound",option); goto next_token; }