summaryrefslogtreecommitdiffstats
path: root/perl-install/ugtk2.pm
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install/ugtk2.pm')
-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;