]> granicus.if.org Git - imagemagick/commitdiff
(no commit message)
authorcristy <urban-warrior@git.imagemagick.org>
Wed, 9 Apr 2014 23:40:13 +0000 (23:40 +0000)
committercristy <urban-warrior@git.imagemagick.org>
Wed, 9 Apr 2014 23:40:13 +0000 (23:40 +0000)
MagickCore/effect.c

index b56e0067b3ac377ca4bf3f1b89646912eed6adaf..ad5d5e759a560e829edcfa6b21d9e61cd74518fb 100644 (file)
@@ -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;
         }
       }