diff --git a/ChangeLog b/ChangeLog index 1b386661b4..b59f10f73e 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2003-03-03 Sven Neumann + + * plug-ins/common/edge.c (edge): fixed a typo in the kernel for + sobel vertical edge detection spotted by Sunil Mohan Adapa (bug + #107441). + 2003-03-03 Michael Natterer * app/widgets/gimppreviewrenderer.[ch]: removed the constructors diff --git a/plug-ins/common/edge.c b/plug-ins/common/edge.c index 3b8aa47d28..88c08006bc 100644 --- a/plug-ins/common/edge.c +++ b/plug-ins/common/edge.c @@ -326,7 +326,7 @@ edge (GimpDrawable *drawable) /* make convolution */ sum1 = (PIX(2,0) - PIX(0,0)) + 2 * (PIX(2,1) - PIX(0,1)) + - (PIX(2,2) - PIX(2,0)); + (PIX(2,2) - PIX(0,2)); sum2 = (PIX(0,2) - PIX(0,0)) + 2 * (PIX(1,2) - PIX(1,0)) + (PIX(2,2) - PIX(2,0));