summaryrefslogtreecommitdiffstats
path: root/perl-install/harddrake/sound.pm
diff options
context:
space:
mode:
authorThierry Vignaud <tvignaud@mandriva.org>2003-03-06 14:53:44 +0000
committerThierry Vignaud <tvignaud@mandriva.org>2003-03-06 14:53:44 +0000
commit3ec470afa5403052da63f93bb7348c87b931424a (patch)
treef99c07fb487dc221ebcb4bbf64fa5ff5b65091ba /perl-install/harddrake/sound.pm
parentdf2c3f5af42caa733f2a3a7e4bc870168334bd55 (diff)
downloaddrakx-3ec470afa5403052da63f93bb7348c87b931424a.tar
drakx-3ec470afa5403052da63f93bb7348c87b931424a.tar.gz
drakx-3ec470afa5403052da63f93bb7348c87b931424a.tar.bz2
drakx-3ec470afa5403052da63f93bb7348c87b931424a.tar.xz
drakx-3ec470afa5403052da63f93bb7348c87b931424a.zip
fix #1929
Diffstat (limited to 'perl-install/harddrake/sound.pm')
-rw-r--r--perl-install/harddrake/sound.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/perl-install/harddrake/sound.pm b/perl-install/harddrake/sound.pm
index edbed5e01..32bb5186e 100644
--- a/perl-install/harddrake/sound.pm
+++ b/perl-install/harddrake/sound.pm
@@ -279,8 +279,8 @@ The current driver for your \"%s\" sound card is \"%s\" ", $card, $driver)),
{ label => N("Driver:"), val => \$driver, list => [ category2modules("multimedia/sound") ], type => 'combo', default => $driver, sort =>1, separator => '|' },
]
)) {
-
do_switch($old_driver, $driver, $index);
+ goto end;
}
}
@@ -288,7 +288,7 @@ sub get_any_driver_entry {
my ($in, $driver, $device, $index) = @_;
{
val => N("Let me pick any driver"), disabled => sub {},
- clicked => sub { &choose_any_driver($in, $driver, $device->{description}, $index); goto end }
+ clicked => sub { &choose_any_driver($in, $driver, $device->{description}, $index); }
}
}