]> granicus.if.org Git - imagemagick/commitdiff
(no commit message)
authorcristy <urban-warrior@git.imagemagick.org>
Sun, 1 Feb 2015 20:45:28 +0000 (20:45 +0000)
committercristy <urban-warrior@git.imagemagick.org>
Sun, 1 Feb 2015 20:45:28 +0000 (20:45 +0000)
MagickCore/effect.c

index b394ffa373ab121f18dfaa5c5edef15e702fb271..88345b79d3cf9a8d6298ec181629592516aa1c39 100644 (file)
@@ -3516,7 +3516,8 @@ MagickExport Image *SpreadImage(const Image *image,const double radius,
       point.x=GetPseudoRandomValue(random_info[id]);
       point.y=GetPseudoRandomValue(random_info[id]);
       status=InterpolatePixelChannels(image,image_view,spread_image,method,
-        (double) x+width*point.x-0.5,(double) y+width*point.y-0.5,q,exception);
+        (double) x+width*(point.x-0.5),(double) y+width*(point.y-0.5),q,
+        exception);
       q+=GetPixelChannels(spread_image);
     }
     if (SyncCacheViewAuthenticPixels(spread_view,exception) == MagickFalse)