]> granicus.if.org Git - imagemagick/commitdiff
(no commit message)
authorcristy <urban-warrior@git.imagemagick.org>
Wed, 23 Jan 2013 13:06:02 +0000 (13:06 +0000)
committercristy <urban-warrior@git.imagemagick.org>
Wed, 23 Jan 2013 13:06:02 +0000 (13:06 +0000)
MagickCore/morphology.c

index 5435701b0479147a75b89fa3ed38710fcda6c487..2b4e8abdb7a16c73ce53c3a8ab5b60f37539c996 100644 (file)
@@ -2848,10 +2848,10 @@ static ssize_t MorphologyPrimitive(const Image *image,Image *morphology_image,
 
     if (status == MagickFalse)
       continue;
-    p=GetCacheViewVirtualPixels(image_view, -offx, y-offy, virt_width,
-      kernel->height,  exception);
-    q=GetCacheViewAuthenticPixels(morphology_view,0,y,
-      morphology_image->columns,1,exception);
+    p=GetCacheViewVirtualPixels(image_view,-offx,y-offy,virt_width,
+      kernel->height,exception);
+    q=GetCacheViewAuthenticPixels(morphology_view,0,y,morphology_image->columns,
+      1,exception);
     if ((p == (const Quantum *) NULL) || (q == (Quantum *) NULL))
       {
         status=MagickFalse;