summaryrefslogtreecommitdiffstats
path: root/perl-install/fs
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.com>2009-10-28 14:27:41 +0000
committerOlivier Blin <oblin@mandriva.com>2009-10-28 14:27:41 +0000
commitc3355616592a6ff4982cadc2dc07322b3604a8e9 (patch)
treeadbfcfb250b39d36b35119191764fe459deb26e6 /perl-install/fs
parent55edba9afb63f93ada4b2b6b7adeba5b0bb583cd (diff)
downloaddrakx-backup-do-not-use-c3355616592a6ff4982cadc2dc07322b3604a8e9.tar
drakx-backup-do-not-use-c3355616592a6ff4982cadc2dc07322b3604a8e9.tar.gz
drakx-backup-do-not-use-c3355616592a6ff4982cadc2dc07322b3604a8e9.tar.bz2
drakx-backup-do-not-use-c3355616592a6ff4982cadc2dc07322b3604a8e9.tar.xz
drakx-backup-do-not-use-c3355616592a6ff4982cadc2dc07322b3604a8e9.zip
move windows part size in req_size for non-gtk install as well
Diffstat (limited to 'perl-install/fs')
-rw-r--r--perl-install/fs/partitioning_wizard.pm5
1 files changed, 2 insertions, 3 deletions
diff --git a/perl-install/fs/partitioning_wizard.pm b/perl-install/fs/partitioning_wizard.pm
index 47255b76e..3d1d8d849 100644
--- a/perl-install/fs/partitioning_wizard.pm
+++ b/perl-install/fs/partitioning_wizard.pm
@@ -186,10 +186,9 @@ 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->{max_win});
- } else {
- $part->{size} = $part->{req_size};
+ $part->{req_size} = from_Mb($mb_size, $part->{min_win}, $part->{max_win});
}
+ $part->{size} = $part->{req_size};
$hd->adjustEnd($part);