Commit b3e42143 authored by Sven Neumann's avatar Sven Neumann Committed by Sven Neumann

applied a patch from David Necas <yeti@physics.muni.cz> that fixes bug

2003-02-05  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/randomize.c: applied a patch from David Necas
	<yeti@physics.muni.cz> that fixes bug #105339.
parent 7aaff769
2003-02-05 Sven Neumann <sven@gimp.org>
* plug-ins/common/randomize.c: applied a patch from David Necas
<yeti@physics.muni.cz> that fixes bug #105339.
2003-02-05 Sven Neumann <sven@gimp.org>
* libgimpbase/Makefile.am
......
......@@ -440,11 +440,11 @@ randomize_prepare_row (GimpPixelRgn *pixel_rgn,
{
gint b;
if (y == 0)
if (y <= 0)
{
gimp_pixel_rgn_get_row(pixel_rgn, data, x, (y + 1), w);
}
else if (y == pixel_rgn->h)
else if (y >= pixel_rgn->h)
{
gimp_pixel_rgn_get_row(pixel_rgn, data, x, (y - 1), w);
}
......@@ -746,7 +746,7 @@ randomize_dialog (void)
TRUE, 0, 0,
_("Percentage of pixels to be filtered"), NULL);
g_signal_connect (adj, "value_changed",
G_CALLBACK (gimp_int_adjustment_update),
G_CALLBACK (gimp_double_adjustment_update),
&pivals.rndm_pct);
/*
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment