summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGuillaume Cottenceau <gc@mandriva.com>2003-11-12 18:22:39 +0000
committerGuillaume Cottenceau <gc@mandriva.com>2003-11-12 18:22:39 +0000
commit2090df14b0609550e7644499d420a740539a15ff (patch)
tree5723b984a8c3bb144d658343612fd2456bcea6ca
parent77165421b13e0b93315710198f23dcb7a62342ba (diff)
downloaddrakx-backup-do-not-use-2090df14b0609550e7644499d420a740539a15ff.tar
drakx-backup-do-not-use-2090df14b0609550e7644499d420a740539a15ff.tar.gz
drakx-backup-do-not-use-2090df14b0609550e7644499d420a740539a15ff.tar.bz2
drakx-backup-do-not-use-2090df14b0609550e7644499d420a740539a15ff.tar.xz
drakx-backup-do-not-use-2090df14b0609550e7644499d420a740539a15ff.zip
prevent from FPE (even if I didn't see it duplicated)
-rw-r--r--perl-install/ugtk2.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/ugtk2.pm b/perl-install/ugtk2.pm
index 48688a826..2c187dcd1 100644
--- a/perl-install/ugtk2.pm
+++ b/perl-install/ugtk2.pm
@@ -748,7 +748,7 @@ sub wrap_paragraph {
push @lines, @$lines;
$width = max($width, $width_);
$ydec += $height + 1;
- } else {
+ } elsif (@lines) {
#- void line
my $yvoid = $ydec / @lines;
push @widths, 0;