Parent Directory | Revision Log | Patch
revision 453 by dpavlin, Wed Sep 15 21:21:36 2004 UTC | revision 454 by dpavlin, Wed Sep 15 22:36:23 2004 UTC | |
---|---|---|
# | Line 352 sub progress_bar { | Line 352 sub progress_bar { |
352 | ||
353 | $self->{'last_pcnt'} ||= 1; | $self->{'last_pcnt'} ||= 1; |
354 | ||
355 | my $p = int($curr * 100 / $max); | my $p = int($curr * 100 / $max) || 1; |
356 | ||
357 | # reset on re-run | # reset on re-run |
358 | if ($p < $self->{'last_pcnt'}) { | if ($p < $self->{'last_pcnt'}) { |
|
ViewVC Help | |
Powered by ViewVC 1.1.26 |