diff --git a/ChangeLog b/ChangeLog index 8e4794e3eb..002657de67 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2005-09-29 Akkana Peck + + * plug-ins/common/zealouscrop.c + Update every 20 steps, instead of 19 out of every 20. + 2005-09-29 Sven Neumann * plug-ins/script-fu/script-fu-console.c diff --git a/plug-ins/common/zealouscrop.c b/plug-ins/common/zealouscrop.c index 62456792b6..5b4c388bb4 100644 --- a/plug-ins/common/zealouscrop.c +++ b/plug-ins/common/zealouscrop.c @@ -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); }