From 715272550d50d64956998e32151c9f6587cae76b Mon Sep 17 00:00:00 2001 From: anthony Date: Fri, 6 Apr 2012 02:31:40 +0000 Subject: [PATCH] --- MagickWand/magick-cli.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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; } -- 2.40.0