plug-ins/common/zealouscrop.c Update every 20 steps, instead of 19 out of

* plug-ins/common/zealouscrop.c
	Update every 20 steps, instead of 19 out of every 20.
This commit is contained in:
Akkana Peck 2005-09-29 16:10:59 +00:00
parent 0fd272761f
commit 7c3a0c7bbf
2 changed files with 9 additions and 4 deletions

View File

@ -1,3 +1,8 @@
2005-09-29 Akkana Peck <akkana@cvs.gnome.org>
* plug-ins/common/zealouscrop.c
Update every 20 steps, instead of 19 out of every 20.
2005-09-29 Sven Neumann <sven@gimp.org>
* plug-ins/script-fu/script-fu-console.c

View File

@ -206,7 +206,7 @@ do_zcrop (GimpDrawable *drawable,
}
area += width;
if (y % 20)
if (y % 20 == 0)
gimp_progress_update ((double) area / (double) total_area);
}
@ -229,7 +229,7 @@ do_zcrop (GimpDrawable *drawable,
}
area += height;
if (x % 20)
if (x % 20 == 0)
gimp_progress_update ((double) area / (double) total_area);
}
@ -253,7 +253,7 @@ do_zcrop (GimpDrawable *drawable,
}
area += width;
if (y % 20)
if (y % 20 == 0)
gimp_progress_update ((double) area / (double) total_area);
}
@ -271,7 +271,7 @@ do_zcrop (GimpDrawable *drawable,
}
area += height;
if (x % 20)
if (x % 20 == 0)
gimp_progress_update ((double) area / (double) total_area);
}