From af43471dfedff5d1314cd674fac6508d230df1bc Mon Sep 17 00:00:00 2001 From: cristy Date: Wed, 23 Jan 2013 13:06:02 +0000 Subject: [PATCH] --- MagickCore/morphology.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/MagickCore/morphology.c b/MagickCore/morphology.c index 5435701b0..2b4e8abdb 100644 --- a/MagickCore/morphology.c +++ b/MagickCore/morphology.c @@ -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; -- 2.50.1