summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
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 eba11df8f..47255b76e 100644
--- a/perl-install/fs/partitioning_wizard.pm
+++ b/perl-install/fs/partitioning_wizard.pm
@@ -186,7 +186,7 @@ When sure, press %s.", N("Next")))) or return;
$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($part->{min_win}), max => to_Mb($max_win), type => 'range' },
]) or return;
- $part->{size} = from_Mb($mb_size, $part->{min_win}, $part->{size});
+ $part->{size} = from_Mb($mb_size, $part->{min_win}, $part->{max_win});
} else {
$part->{size} = $part->{req_size};
}