From: cristy Date: Tue, 29 Apr 2014 15:37:48 +0000 (+0000) Subject: (no commit message) X-Git-Tag: 7.0.1-0~2384 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=f89d1dd0b5189cf4df3163fc495f0493f8ddcc7e;p=imagemagick --- diff --git a/MagickCore/feature.c b/MagickCore/feature.c index be4aef3e6..8e663e952 100644 --- a/MagickCore/feature.c +++ b/MagickCore/feature.c @@ -2129,8 +2129,7 @@ MagickExport Image *MeanShiftImage(const Image *image,const size_t width, sum_location.x=0.0; sum_location.y=0.0; GetPixelInfo(image,&sum_pixel); - previous_location.x=mean_location.x; - previous_location.y=mean_location.y; + previous_location=mean_location; previous_pixel=mean_pixel; count=0; for (v=(-((ssize_t) height/2)); v <= (((ssize_t) height/2)); v++)