mirror of https://github.com/GNOME/gimp.git
Applied patch from Austin Donnelly to fix rendering of the topmost
2001-03-10 Daniel Egger <egger@suse.de> * plug-ins/common/sobel.c: Applied patch from Austin Donnelly to fix rendering of the topmost scanline.
This commit is contained in:
parent
b8a72df54e
commit
f7cfaa825a
|
@ -1,4 +1,11 @@
|
|||
2001-03-10 Daniel Egger <egger@suse.de>
|
||||
|
||||
* plug-ins/common/sobel.c: Applied patch from
|
||||
Austin Donnelly to fix rendering of the topmost
|
||||
scanline.
|
||||
|
||||
2001-03-10 Garry R. Osgood <grosgood@rcn.com>
|
||||
|
||||
* app/Makefile.am
|
||||
Inclusion of David's MMX code into Makefile now
|
||||
depends on prior definition of HAVE_ASM_MMX.
|
||||
|
|
|
@ -312,10 +312,10 @@ sobel_prepare_row (GimpPixelRgn *pixel_rgn,
|
|||
{
|
||||
gint b;
|
||||
|
||||
if (y == 0)
|
||||
gimp_pixel_rgn_get_row (pixel_rgn, data, x, (y + 1), w);
|
||||
else if (y == pixel_rgn->h)
|
||||
gimp_pixel_rgn_get_row (pixel_rgn, data, x, (y - 1), w);
|
||||
if (y < 0)
|
||||
gimp_pixel_rgn_get_row (pixel_rgn, data, x, 0, w);
|
||||
else if (y >= pixel_rgn->h)
|
||||
gimp_pixel_rgn_get_row (pixel_rgn, data, x, pixel_rgn->h - 1, w);
|
||||
else
|
||||
gimp_pixel_rgn_get_row (pixel_rgn, data, x, y, w);
|
||||
|
||||
|
|
Loading…
Reference in New Issue