]> granicus.if.org Git - imagemagick/commitdiff
Verbose artifact handling
authoranthony <anthony@git.imagemagick.org>
Tue, 20 Mar 2012 11:01:51 +0000 (11:01 +0000)
committeranthony <anthony@git.imagemagick.org>
Tue, 20 Mar 2012 11:01:51 +0000 (11:01 +0000)
MagickCore/distort.c

index 91cf659b27d1ee1b650594da79029e2d54f9e8c8..8e83bc7aff7d39061d443558897dac899b5243f4 100644 (file)
@@ -1954,7 +1954,7 @@ MagickExport Image *DistortImage(const Image *image,DistortImageMethod method,
   }
 
   /* Verbose output */
-  if ( GetImageArtifact(image,"verbose") != (const char *) NULL ) {
+  if ( IsMagickTrue(GetImageArtifact(image,"verbose") != MagickFalse ) {
     register ssize_t
        i;
     char image_gen[MaxTextExtent];
@@ -2937,7 +2937,7 @@ MagickExport Image *SparseColorImage(const Image *image,
   }
 
   /* Verbose output */
-  if ( GetImageArtifact(image,"verbose") != (const char *) NULL ) {
+  if ( IsMagickTrue(GetImageArtifact(image,"verbose") != MagickFalse ) {
 
     switch (sparse_method) {
       case BarycentricColorInterpolate: