]> granicus.if.org Git - imagemagick/commitdiff
(no commit message)
authorcristy <urban-warrior@git.imagemagick.org>
Sat, 1 Feb 2014 16:56:29 +0000 (16:56 +0000)
committercristy <urban-warrior@git.imagemagick.org>
Sat, 1 Feb 2014 16:56:29 +0000 (16:56 +0000)
MagickCore/compare.c

index 782891e3721ff336014d622e6e9d1f96559636e9..915e3c68ccea20158cde79d76c2b2ce7636926be 100644 (file)
@@ -203,8 +203,8 @@ MagickExport Image *CompareImages(Image *image,const Image *reconstruct_image,
     if (status == MagickFalse)
       continue;
     p=GetCacheViewVirtualPixels(image_view,0,y,image->columns,1,exception);
-    q=GetCacheViewVirtualPixels(reconstruct_view,0,y,reconstruct_image->columns,
-      1,exception);
+    q=GetCacheViewVirtualPixels(reconstruct_view,0,y,image->columns,1,
+      exception);
     r=QueueCacheViewAuthenticPixels(highlight_view,0,y,highlight_image->columns,
       1,exception);
     if ((p == (const Quantum *) NULL) || (q == (const Quantum *) NULL) ||