diff options
author | Thierry Vignaud <thierry.vignaud@gmail.com> | 2013-11-28 15:08:10 +0100 |
---|---|---|
committer | Thierry Vignaud <thierry.vignaud@gmail.com> | 2013-11-28 15:08:10 +0100 |
commit | 862730c409e8d36320ae1cd1f2684b3af2e2f921 (patch) | |
tree | d5581fa9ea116ea7728ecc7dbc27d6bb82c6b35c /perl-install | |
parent | db60d04d9590eb219cdeef087f487ec0b9ab981a (diff) | |
download | drakx-862730c409e8d36320ae1cd1f2684b3af2e2f921.tar drakx-862730c409e8d36320ae1cd1f2684b3af2e2f921.tar.gz drakx-862730c409e8d36320ae1cd1f2684b3af2e2f921.tar.bz2 drakx-862730c409e8d36320ae1cd1f2684b3af2e2f921.tar.xz drakx-862730c409e8d36320ae1cd1f2684b3af2e2f921.zip |
fix missing bit in commit e779a9401a2971e0338fdf3e7dffaa60629d3b28
Diffstat (limited to 'perl-install')
-rw-r--r-- | perl-install/diskdrake/hd_gtk.pm | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/perl-install/diskdrake/hd_gtk.pm b/perl-install/diskdrake/hd_gtk.pm index d98f25cac..5ddc91230 100644 --- a/perl-install/diskdrake/hd_gtk.pm +++ b/perl-install/diskdrake/hd_gtk.pm @@ -326,6 +326,7 @@ sub create_buttons4partitions { my $ratio = $totalsectors ? ($width - @parts * $minwidth) / $totalsectors : 1; my $i = 1; while ($i < 30) { + $i++; my $totalwidth = sum(map { $_->{size} * $ratio + $minwidth } @parts); $totalwidth <= $width and last; $ratio /= $totalwidth / $width * 1.1; |