From: cristy Date: Tue, 4 Sep 2012 23:51:26 +0000 (+0000) Subject: (no commit message) X-Git-Tag: 7.0.1-0~4998 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=f707b305132c3781a434841e8c6785f679a8d5d4;p=imagemagick --- diff --git a/MagickCore/draw.c b/MagickCore/draw.c index e497bc3b9..a70816182 100644 --- a/MagickCore/draw.c +++ b/MagickCore/draw.c @@ -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;