diff options
author | Olivier Blin <oblin@mandriva.com> | 2009-10-28 16:01:27 +0000 |
---|---|---|
committer | Olivier Blin <oblin@mandriva.com> | 2009-10-28 16:01:27 +0000 |
commit | b16bd9930aa06c25b82a9c495b53e98c29c6b7b8 (patch) | |
tree | 856ebdd595653cd58cffce9fa41fd0913e3b8b69 | |
parent | e15f321083a33732380e83e6aa2da8deac7cc154 (diff) | |
download | drakx-b16bd9930aa06c25b82a9c495b53e98c29c6b7b8.tar drakx-b16bd9930aa06c25b82a9c495b53e98c29c6b7b8.tar.gz drakx-b16bd9930aa06c25b82a9c495b53e98c29c6b7b8.tar.bz2 drakx-b16bd9930aa06c25b82a9c495b53e98c29c6b7b8.tar.xz drakx-b16bd9930aa06c25b82a9c495b53e98c29c6b7b8.zip |
remove broken ratio downgrading
-rw-r--r-- | perl-install/fs/partitioning_wizard.pm | 5 |
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; |