summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.com>2009-10-28 16:01:27 +0000
committerOlivier Blin <oblin@mandriva.com>2009-10-28 16:01:27 +0000
commitb16bd9930aa06c25b82a9c495b53e98c29c6b7b8 (patch)
tree856ebdd595653cd58cffce9fa41fd0913e3b8b69 /perl-install
parente15f321083a33732380e83e6aa2da8deac7cc154 (diff)
downloaddrakx-b16bd9930aa06c25b82a9c495b53e98c29c6b7b8.tar
drakx-b16bd9930aa06c25b82a9c495b53e98c29c6b7b8.tar.gz
drakx-b16bd9930aa06c25b82a9c495b53e98c29c6b7b8.tar.bz2
drakx-b16bd9930aa06c25b82a9c495b53e98c29c6b7b8.tar.xz
drakx-b16bd9930aa06c25b82a9c495b53e98c29c6b7b8.zip
remove broken ratio downgrading
Diffstat (limited to 'perl-install')
-rw-r--r--perl-install/fs/partitioning_wizard.pm5
1 files changed, 0 insertions, 5 deletions
diff --git a/perl-install/fs/partitioning_wizard.pm b/perl-install/fs/partitioning_wizard.pm
index 4cd8f3b24..857354470 100644
--- a/perl-install/fs/partitioning_wizard.pm
+++ b/perl-install/fs/partitioning_wizard.pm
@@ -299,11 +299,6 @@ sub create_display_box {
#- though, the pixel/sectors ratio can not be the same for all the partitions
my $initial_ratio = $totalsectors ? ($width - @parts * $minwidth - $sep_count) / $totalsectors : 1;
my $ration = $initial_ratio;
- while (1) {
- my $totalwidth = sum(map { $_->{size} * $ratio + $minwidth } @parts);
- $totalwidth <= $width and last;
- $ratio /= $totalwidth / $width * 1.1;
- }
my $vbox = Gtk2::VBox->new;