From: cristy Date: Wed, 9 Apr 2014 23:40:13 +0000 (+0000) Subject: (no commit message) X-Git-Tag: 7.0.1-0~2466 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=128876599de7124b2bf73ba07f8c0446f73f0919;p=imagemagick --- diff --git a/MagickCore/effect.c b/MagickCore/effect.c index b56e0067b..ad5d5e759 100644 --- a/MagickCore/effect.c +++ b/MagickCore/effect.c @@ -1244,8 +1244,8 @@ MagickExport Image *CannyEdgeImage(const Image *image,const double radius, /* 135 degrees, northeast and southwest. */ - (void) GetMatrixElement(pixel_cache,x-1,y+1,&alpha_pixel); (void) GetMatrixElement(pixel_cache,x+1,y-1,&beta_pixel); + (void) GetMatrixElement(pixel_cache,x-1,y+1,&alpha_pixel); break; } }