From 71548bc972647e7d32e5d1b127bb34377e19d1be Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Thu, 18 Sep 2003 13:28:07 +0000 Subject: fix slot number when configuring sound cards --- perl-install/install_steps_interactive.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/perl-install/install_steps_interactive.pm b/perl-install/install_steps_interactive.pm index 7ba215815..b30508ad1 100644 --- a/perl-install/install_steps_interactive.pm +++ b/perl-install/install_steps_interactive.pm @@ -950,6 +950,7 @@ sub summary { my $sound_index = 0; foreach my $device (@sound_cards) { + $device->{sound_slot_index} = $sound_index; push @l, { group => N("Hardware"), label => N("Sound card"), @@ -958,7 +959,6 @@ sub summary { }, clicked => sub { require harddrake::sound; - $device->{sound_slot_index} = $sound_index; harddrake::sound::config($o, $device); }, }; -- cgit v1.2.1