]> granicus.if.org Git - imagemagick/commitdiff
(no commit message)
authorcristy <urban-warrior@git.imagemagick.org>
Tue, 4 Sep 2012 23:51:26 +0000 (23:51 +0000)
committercristy <urban-warrior@git.imagemagick.org>
Tue, 4 Sep 2012 23:51:26 +0000 (23:51 +0000)
MagickCore/draw.c

index e497bc3b9ab78aa89ac265e952b9d629907906bf..a708161820b8ec6cfb0f56b29e1a4ecfddabcbe0 100644 (file)
@@ -3899,8 +3899,8 @@ static MagickBooleanType DrawPolygonPrimitive(Image *image,
         start=(ssize_t) ceil(bounds.x1-0.5);
         stop=(ssize_t) floor(bounds.x2-0.5);
         x=start;
-        q=GetCacheViewAuthenticPixels(image_view,x,y,(size_t) (stop-x+1),
-          1,exception);
+        q=GetCacheViewAuthenticPixels(image_view,x,y,(size_t) (stop-x+1),1,
+          exception);
         if (q == (Quantum *) NULL)
           {
             status=MagickFalse;