summaryrefslogtreecommitdiffstats
path: root/perl-install/fs
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.com>2009-10-28 14:21:23 +0000
committerOlivier Blin <oblin@mandriva.com>2009-10-28 14:21:23 +0000
commit6c06a3fd593b88ea1e49ad542ad9209838a34623 (patch)
tree8c26366efba8aa146bc3b1f5aef7927e801a5e8f /perl-install/fs
parent019e0f363dc4e12b17301ba4718f500e7a8eee9a (diff)
downloaddrakx-6c06a3fd593b88ea1e49ad542ad9209838a34623.tar
drakx-6c06a3fd593b88ea1e49ad542ad9209838a34623.tar.gz
drakx-6c06a3fd593b88ea1e49ad542ad9209838a34623.tar.bz2
drakx-6c06a3fd593b88ea1e49ad542ad9209838a34623.tar.xz
drakx-6c06a3fd593b88ea1e49ad542ad9209838a34623.zip
really ensure keeping free space for Windows partition
Diffstat (limited to 'perl-install/fs')
-rw-r--r--perl-install/fs/partitioning_wizard.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/perl-install/fs/partitioning_wizard.pm b/perl-install/fs/partitioning_wizard.pm
index 70c591e36..b37517c80 100644
--- a/perl-install/fs/partitioning_wizard.pm
+++ b/perl-install/fs/partitioning_wizard.pm
@@ -182,9 +182,9 @@ When sure, press %s.", N("Next")))) or return;
if (!$in->isa('interactive::gtk')) {
my $mb_size = to_Mb($part->{size});
$in->ask_from(N("Partitionning"), N("Which size do you want to keep for Microsoft Windows® on partition %s?", partition_table::description($part)), [
- { label => N("Size"), val => \$mb_size, min => to_Mb($min_win), max => to_Mb($part->{size} - $min_linux - $min_swap), type => 'range' },
+ { label => N("Size"), val => \$mb_size, min => to_Mb($min_win + $min_freewin), max => to_Mb($part->{size} - $min_linux - $min_swap), type => 'range' },
]) or return;
- $part->{size} = from_Mb($mb_size, $min_win, $part->{size});
+ $part->{size} = from_Mb($mb_size, $min_win + $min_freewin, $part->{size});
} else {
$part->{size} = $part->{req_size};
}