From c2b1e260ea211c7880549b956565651bb7addd5a Mon Sep 17 00:00:00 2001 From: damien Date: Mon, 27 Aug 2001 13:13:58 +0000 Subject: corrected bad window size --- perl-install/network/netconnect.pm | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) (limited to 'perl-install') diff --git a/perl-install/network/netconnect.pm b/perl-install/network/netconnect.pm index 10bf28f3f..e1d50f2e9 100644 --- a/perl-install/network/netconnect.pm +++ b/perl-install/network/netconnect.pm @@ -181,13 +181,9 @@ ifdown eth0 ); my $i=0; map { defined $set_default or do { $_->[1] and $set_default=$i; }; $i++; } @l; - my $e = $in->ask_from(_("Network Configuration Wizard"), - _("Choose the connection you want to configure"), - [ - map { { - label => $_->[0] . if_($_->[1], " - " . _ ($_->[2], $_->[1])), - val => $_->[3], type => 'bool'} } @l - ] + @l = map { $_->[0] = $_->[0] . if_($_->[1], " - " . _ ($_->[2], $_->[1])) } @l; + my $e = $in->ask_from(_("Network Configuration Wizard"), _("Choose the connection you want to configure"), + [ map { { label => $_->[0], val => $_->[1], type => 'bool'} } @l ] ) or goto step_1; # load_conf ($netcnx, $netc, $intf); -- cgit v1.2.1