From 046c5b383794bfe42480723d32bbb91380671bab Mon Sep 17 00:00:00 2001 From: Pascal Rigaux Date: Fri, 22 Sep 2000 22:28:16 +0000 Subject: no_comment --- perl-install/interactive_newt.pm | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'perl-install/interactive_newt.pm') diff --git a/perl-install/interactive_newt.pm b/perl-install/interactive_newt.pm index edd26fd11..4c4c0e65e 100644 --- a/perl-install/interactive_newt.pm +++ b/perl-install/interactive_newt.pm @@ -79,10 +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; +sub ask_many_from_listW { + my ($o, $title, $messages, $l) = @_; + my ($list, $val) = ($l->{labels}, $l->{ref}); my $height = min(int @$list, 18); my $sb = Newt::Component::VerticalScrollbar(-1, -1, $height, 9, 10); -- cgit v1.2.1