summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.com>2009-10-28 16:00:33 +0000
committerOlivier Blin <oblin@mandriva.com>2009-10-28 16:00:33 +0000
commite15f321083a33732380e83e6aa2da8deac7cc154 (patch)
tree40a911dbf6a6fea9116ec4d5f293fe03254f670e /perl-install
parent9305fba822686c1177e4c8ae6172f9234713c4db (diff)
downloaddrakx-e15f321083a33732380e83e6aa2da8deac7cc154.tar
drakx-e15f321083a33732380e83e6aa2da8deac7cc154.tar.gz
drakx-e15f321083a33732380e83e6aa2da8deac7cc154.tar.bz2
drakx-e15f321083a33732380e83e6aa2da8deac7cc154.tar.xz
drakx-e15f321083a33732380e83e6aa2da8deac7cc154.zip
fix typo
Diffstat (limited to 'perl-install')
-rw-r--r--perl-install/fs/partitioning_wizard.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/fs/partitioning_wizard.pm b/perl-install/fs/partitioning_wizard.pm
index 124b77ab2..4cd8f3b24 100644
--- a/perl-install/fs/partitioning_wizard.pm
+++ b/perl-install/fs/partitioning_wizard.pm
@@ -297,7 +297,7 @@ sub create_display_box {
my $sep_count = @parts - 1;
#- ratio used to compute initial partition pixel width (each partition should be > min_width)
#- though, the pixel/sectors ratio can not be the same for all the partitions
- my $initial_ratio = $totalsectors ? ($width - @parts * $min_width - $sep_count) / $totalsectors : 1;
+ 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);