summaryrefslogtreecommitdiffstats
path: root/perl-install/install_steps_interactive.pm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2001-01-30 18:18:13 +0000
committerPascal Rigaux <pixel@mandriva.com>2001-01-30 18:18:13 +0000
commitb69a22cc542a4f20be646ec651f0c294c8d8c8d4 (patch)
tree48346a69615b9484b9e7b20fc9dc197ec6f8fd77 /perl-install/install_steps_interactive.pm
parentbeb1d8377ff12d07ffec259dd240db5014b9a6ee (diff)
downloaddrakx-b69a22cc542a4f20be646ec651f0c294c8d8c8d4.tar
drakx-b69a22cc542a4f20be646ec651f0c294c8d8c8d4.tar.gz
drakx-b69a22cc542a4f20be646ec651f0c294c8d8c8d4.tar.bz2
drakx-b69a22cc542a4f20be646ec651f0c294c8d8c8d4.tar.xz
drakx-b69a22cc542a4f20be646ec651f0c294c8d8c8d4.zip
adapt format functions given to ask_from_listf. $_ is no more set
Diffstat (limited to 'perl-install/install_steps_interactive.pm')
-rw-r--r--perl-install/install_steps_interactive.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/install_steps_interactive.pm b/perl-install/install_steps_interactive.pm
index e2242e0c0..eb16e2565 100644
--- a/perl-install/install_steps_interactive.pm
+++ b/perl-install/install_steps_interactive.pm
@@ -456,7 +456,7 @@ sub choosePackages {
}
$o->set_help('empty');
$o->ask_from_listf('', _("Select the size you want to install"),
- sub { _ ($text[$_[1]], $_[0]) }, \@l, $l[1]) * sqr(1024);
+ sub { _ ($text[$_[0]], $_[0]) }, \@l, $l[1]) * sqr(1024);
}
} else {
$o->chooseSizeToInstall($packages, $min_size, $def_size, $max_size, $availableC, $individual) || goto &choosePackages;