From 8744d4321602181bc812d79b2ca165971ee76d5e Mon Sep 17 00:00:00 2001 From: cristy Date: Fri, 27 Jun 2014 12:04:01 +0000 Subject: [PATCH] --- MagickWand/mogrify.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/MagickWand/mogrify.c b/MagickWand/mogrify.c index 95fc13718..07438c7fa 100644 --- a/MagickWand/mogrify.c +++ b/MagickWand/mogrify.c @@ -144,7 +144,7 @@ WandExport MagickBooleanType MagickCommandGenesis(ImageInfo *image_info, concurrent=MagickFalse; duration=(-1.0); iterations=1; - status=MagickFalse; + status=MagickTrue; regard_warnings=MagickFalse; for (i=1; i < (ssize_t) (argc-1); i++) { @@ -174,7 +174,7 @@ WandExport MagickBooleanType MagickCommandGenesis(ImageInfo *image_info, { if ((exception->severity > ErrorException) || (regard_warnings != MagickFalse)) - status=MagickTrue; + status=MagickFalse; CatchException(exception); } if ((metadata != (char **) NULL) && (*metadata != (char *) NULL)) @@ -202,7 +202,7 @@ WandExport MagickBooleanType MagickCommandGenesis(ImageInfo *image_info, { for (i=0; i < (ssize_t) iterations; i++) { - if (status != MagickFalse) + if (status == MagickFalse) continue; if (duration > 0) { @@ -215,7 +215,7 @@ WandExport MagickBooleanType MagickCommandGenesis(ImageInfo *image_info, { if ((exception->severity > ErrorException) || (regard_warnings != MagickFalse)) - status=MagickTrue; + status=MagickFalse; CatchException(exception); } if ((metadata != (char **) NULL) && (*metadata != (char *) NULL)) @@ -233,7 +233,7 @@ WandExport MagickBooleanType MagickCommandGenesis(ImageInfo *image_info, #endif for (i=0; i < (ssize_t) iterations; i++) { - if (status != MagickFalse) + if (status == MagickFalse) continue; if (duration > 0) { @@ -250,7 +250,7 @@ WandExport MagickBooleanType MagickCommandGenesis(ImageInfo *image_info, { if ((exception->severity > ErrorException) || (regard_warnings != MagickFalse)) - status=MagickTrue; + status=MagickFalse; CatchException(exception); } if ((metadata != (char **) NULL) && (*metadata != (char *) NULL)) -- 2.40.0