]> granicus.if.org Git - imagemagick/commitdiff
(no commit message)
authorcristy <urban-warrior@git.imagemagick.org>
Fri, 21 Dec 2012 17:25:55 +0000 (17:25 +0000)
committercristy <urban-warrior@git.imagemagick.org>
Fri, 21 Dec 2012 17:25:55 +0000 (17:25 +0000)
MagickCore/enhance.c

index e06f92721a9d6ed972dc196435cb613dc75bd7e8..fb447d7e7c66e06f49bc184ed089466e33459884 100644 (file)
@@ -1533,8 +1533,7 @@ MagickExport MagickBooleanType EqualizeImage(Image *image,
     GetPixelChannels(image)*sizeof(*histogram));
   map=(double *) AcquireQuantumMemory(MaxMap+1UL,
     GetPixelChannels(image)*sizeof(*map));
-  if ((equalize_map == (double *) NULL) ||
-      (histogram == (double *) NULL) ||
+  if ((equalize_map == (double *) NULL) || (histogram == (double *) NULL) ||
       (map == (double *) NULL))
     {
       if (map != (double *) NULL)