]> granicus.if.org Git - imagemagick/commitdiff
(no commit message)
authorcristy <urban-warrior@git.imagemagick.org>
Tue, 27 May 2014 00:06:06 +0000 (00:06 +0000)
committercristy <urban-warrior@git.imagemagick.org>
Tue, 27 May 2014 00:06:06 +0000 (00:06 +0000)
MagickWand/magick-cli.c
MagickWand/mogrify.c

index 14d777fdb5f55fe76e38f5d8f0a306042a7c1e44..4b63fe058f10b6e868479e7a2e859216bdf2752a 100644 (file)
@@ -834,5 +834,5 @@ Magick_Command_Exit:
   cli_wand->wand.exception = (ExceptionInfo *)NULL;
   cli_wand=DestroyMagickCLI(cli_wand);
 
-  return(IsMagickTrue(exception->severity > ErrorException));
+  return(IsMagickTrue(exception->severity < ErrorException));
 }
index a2138dd72076bccffd799a8f924ab98b8eab6b7b..6036cb8f0369c9cdf17bac9ae75b12fe76fde91b 100644 (file)
@@ -177,11 +177,11 @@ WandExport MagickBooleanType MagickCommandGenesis(ImageInfo *image_info,
             status=MagickTrue;
           CatchException(exception);
         }
-        if ((metadata != (char **) NULL) && (*metadata != (char *) NULL))
-          {
-            (void) fputs(*metadata,stdout);
-            *metadata=DestroyString(*metadata);
-          }
+      if ((metadata != (char **) NULL) && (*metadata != (char *) NULL))
+        {
+          (void) fputs(*metadata,stdout);
+          *metadata=DestroyString(*metadata);
+        }
       return(status);
     }
   number_threads=GetOpenMPMaximumThreads();