]> granicus.if.org Git - imagemagick/commitdiff
(no commit message)
authorcristy <urban-warrior@git.imagemagick.org>
Wed, 20 Jun 2012 15:14:44 +0000 (15:14 +0000)
committercristy <urban-warrior@git.imagemagick.org>
Wed, 20 Jun 2012 15:14:44 +0000 (15:14 +0000)
MagickCore/segment.c

index e7a05faef4c939dbe8cbe20bf40e9f9377b61cc5..d29515e0604e8329cb2940ebe1297f0cf1809217 100644 (file)
@@ -1833,7 +1833,7 @@ MagickExport MagickBooleanType SegmentImage(Image *image,
       }
   }
   if ((IssRGBColorspace(colorspace) == MagickFalse) &&
-      (IsGRAYColorspace(colorspace) == MagickFalse))
+      (IsGrayColorspace(colorspace) == MagickFalse))
     (void) TransformImageColorspace(image,colorspace,exception);
   /*
     Initialize histogram.
@@ -1851,7 +1851,7 @@ MagickExport MagickBooleanType SegmentImage(Image *image,
   status=Classify(image,extrema,cluster_threshold,WeightingExponent,verbose,
     exception);
   if ((IssRGBColorspace(colorspace) == MagickFalse) &&
-      (IsGRAYColorspace(colorspace) == MagickFalse))
+      (IsGrayColorspace(colorspace) == MagickFalse))
     (void) TransformImageColorspace(image,colorspace,exception);
   /*
     Relinquish resources.