summaryrefslogtreecommitdiffstats
path: root/perl-install/install_steps_gtk.pm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2000-05-07 17:07:30 +0000
committerPascal Rigaux <pixel@mandriva.com>2000-05-07 17:07:30 +0000
commit73053fb0bb6255c13deecd198499cfc4479134bc (patch)
treef5e5e1ae0259613e69c9041f6745ec2f967eff1f /perl-install/install_steps_gtk.pm
parent6e0714d453adf6cb59f3a8083d3561d5f274be16 (diff)
downloaddrakx-73053fb0bb6255c13deecd198499cfc4479134bc.tar
drakx-73053fb0bb6255c13deecd198499cfc4479134bc.tar.gz
drakx-73053fb0bb6255c13deecd198499cfc4479134bc.tar.bz2
drakx-73053fb0bb6255c13deecd198499cfc4479134bc.tar.xz
drakx-73053fb0bb6255c13deecd198499cfc4479134bc.zip
no_comment
Diffstat (limited to 'perl-install/install_steps_gtk.pm')
-rw-r--r--perl-install/install_steps_gtk.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/perl-install/install_steps_gtk.pm b/perl-install/install_steps_gtk.pm
index 7807eeaa0..c48a5b982 100644
--- a/perl-install/install_steps_gtk.pm
+++ b/perl-install/install_steps_gtk.pm
@@ -297,8 +297,8 @@ _("Choose the sizes"),
#------------------------------------------------------------------------------
sub chooseSizeToInstall {
- my ($o, $packages, $min_size, $max_size_, $available, $individual) = @_;
- my $max_size = min($max_size_, $available * 0.9);
+ my ($o, $packages, $min_size, $max_size_, $availableC, $individual) = @_;
+ my $max_size = min($max_size_, $availableC);
my $enough = $max_size == $max_size_;
my $percentage = int 100 * $max_size / $max_size_;