]> granicus.if.org Git - imagemagick/commitdiff
(no commit message)
authorcristy <urban-warrior@git.imagemagick.org>
Sat, 15 Dec 2012 14:40:35 +0000 (14:40 +0000)
committercristy <urban-warrior@git.imagemagick.org>
Sat, 15 Dec 2012 14:40:35 +0000 (14:40 +0000)
MagickWand/compare.c

index 854b1b8a7700e6741e988ff51718f3894788a71a..827671d49763233794618a94eda5a73fa845cf04 100644 (file)
@@ -1192,5 +1192,5 @@ WandExport MagickBooleanType CompareImagesCommand(ImageInfo *image_info,
       difference_image=DestroyImageList(difference_image);
     }
   DestroyCompare();
-  return(status != 0 ? MagickTrue : MagickFalse);
+  return((status != 0) || (distortion != 0.0) ? MagickTrue : MagickFalse);
 }