actually increment the tile counter used to limit the number of progress

2006-03-30  Sven Neumann  <sven@gimp.org>

	* app/base/siox.c (siox_foreground_extract): actually increment
	the tile counter used to limit the number of progress updates.
This commit is contained in:
Sven Neumann 2006-03-30 09:59:27 +00:00 committed by Sven Neumann
parent 9a6273f94c
commit 0768628ac9
2 changed files with 14 additions and 3 deletions

View File

@ -1,3 +1,8 @@
2006-03-30 Sven Neumann <sven@gimp.org>
* app/base/siox.c (siox_foreground_extract): actually increment
the tile counter used to limit the number of progress updates.
2006-03-30 Michael Natterer <mitch@gimp.org>
* app/pdb/procedural_db.c (procedural_db_free_entry): also

View File

@ -941,7 +941,9 @@ siox_foreground_extract (SioxState *state,
{
gint i = 0;
for (pixels = 0, n = 0; pr != NULL; pr = pixel_regions_process (pr))
for (pixels = 0, n = 0;
pr != NULL;
pr = pixel_regions_process (pr), n++)
{
const guchar *src = srcPR.data;
const guchar *map = mapPR.data;
@ -976,7 +978,9 @@ siox_foreground_extract (SioxState *state,
{
gint i = 0;
for (pixels = 0, n = 0; pr != NULL; pr = pixel_regions_process (pr))
for (pixels = 0, n = 0;
pr != NULL;
pr = pixel_regions_process (pr), n++)
{
const guchar *src = srcPR.data;
const guchar *map = mapPR.data;
@ -1012,7 +1016,9 @@ siox_foreground_extract (SioxState *state,
gint i = 0;
gint j = 0;
for (pixels = 0, n = 0; pr != NULL; pr = pixel_regions_process (pr))
for (pixels = 0, n = 0;
pr != NULL;
pr = pixel_regions_process (pr), n++)
{
const guchar *src = srcPR.data;
const guchar *map = mapPR.data;