]> granicus.if.org Git - imagemagick/commitdiff
(no commit message)
authoranthony <anthony@git.imagemagick.org>
Mon, 14 Jun 2010 22:28:04 +0000 (22:28 +0000)
committeranthony <anthony@git.imagemagick.org>
Mon, 14 Jun 2010 22:28:04 +0000 (22:28 +0000)
magick/morphology.c

index a1988706b70924339bb9f7546f9af252419cc289..785bb515f666cf2d084b129dabeaf7bbdbd1d685 100644 (file)
@@ -2600,7 +2600,7 @@ static size_t MorphologyPrimitive(const Image *image, Image
         */
         *q = p[r];
         if (image->colorspace == CMYKColorspace)
-          q_indexes[x] = p_indexes[r];
+          q_indexes[y] = p_indexes[r];
 
         /* Set the bias of the weighted average output */
         result.red     =
@@ -2942,7 +2942,6 @@ static size_t MorphologyPrimitive(const Image *image, Image
             }
             break;
 
-
         case DilateMorphology:
             /* Maximum Value within kernel neighbourhood
             **