ndeb <[EMAIL PROTECTED]> writes:

> http://qa.mandrakesoft.com/show_bug.cgi?id=2730
> 
> 
> 
> 
> 
> ------- Additional Comments From [EMAIL PROTECTED]  2003-03-05 17:49 -------
> I did a clean install (the upgrade options are very unreliable) after formatting 
> (with check for bad 
> blocks) /  :-) 
>  
> The old bug report (for mdk-9.1rc1) is 2245. 

then unlike what your agressive post claimed, we did not mark this bug
as fixed, we only mark it as duplicate because you filled two exact
same bugs.

now, i understood the bug but i won't fix it for now since i'have to
take my train

this (untested) patch should fix it:
--- install_steps_interactive.pm.~1.802.~	2003-03-05 14:56:45.000000000 +0100
+++ install_steps_interactive.pm	2003-03-05 17:57:41.000000000 +0100
@@ -935,7 +935,9 @@
   
     my @sound_cards = detect_devices::getSoundDevices();
 
+    my $sound_index = 0;
     foreach my $device (@sound_cards) {
+        my $own_sound_index = $sound_index;
 	push @l, {
 	    group => N("Hardware"),
 	    label => N("Sound card"),
@@ -943,10 +945,12 @@
 		$device->{driver} && modules::module2description($device->{driver}) || $device->{description};
 	    },
 	    clicked => sub {
+             local $::i = $sound_index;
 	        require harddrake::sound; 
 	        harddrake::sound::config($o, $device)
 	    },
 	};
+     $sound_index++;
     }
 
     if ([EMAIL PROTECTED] && ($o->{compssUsersChoice}{GAMES} || $o->{compssUsersChoice}{AUDIO})) {

Reply via email to