summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install')
-rw-r--r--perl-install/interactive_newt.pm6
1 files changed, 3 insertions, 3 deletions
diff --git a/perl-install/interactive_newt.pm b/perl-install/interactive_newt.pm
index 8f668c5e0..ac5947116 100644
--- a/perl-install/interactive_newt.pm
+++ b/perl-install/interactive_newt.pm
@@ -79,9 +79,9 @@ sub ask_from_listW {
}
sub ask_many_from_list_with_help_refW {
- my ($o, $title, $messages, $lists) = @_;
- my $list = map { $_->[0] } @$lists;
- my $val = map { $_->[2] } @$lists;
+ my ($o, $title, $messages, @lists) = @_;
+ my ($list) = map { $_->[0] } @lists;
+ my ($val) = map { $_->[2] } @lists;
my $height = min(int @$list, 18);
my $sb = Newt::Component::VerticalScrollbar(-1, -1, $height, 9, 10);