From 1bf4d3b7f6051eeb18c922f6b757621ad97ed192 Mon Sep 17 00:00:00 2001 From: Pascal Rigaux Date: Fri, 18 Aug 2000 05:59:36 +0000 Subject: no_comment --- perl-install/Xconfigurator.pm | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/perl-install/Xconfigurator.pm b/perl-install/Xconfigurator.pm index 5c61322c0..c1dcefcfa 100644 --- a/perl-install/Xconfigurator.pm +++ b/perl-install/Xconfigurator.pm @@ -148,9 +148,8 @@ sub keepOnlyLegalModes { sub cardConfigurationAuto() { my $card; - if (my ($c) = detect_devices::probeall()) { + if (my ($c) = grep { $_->{driver} =~ /(Card|Server):/ } detect_devices::probeall()) { local $_ = $c->{driver}; - /(Card|Server):/ or next; $card->{type} = $1 if /Card:(.*)/; $card->{server} = $1 if /Server:(.*)/; $card->{flags}{needVideoRam} &&= /86c368/; -- cgit v1.2.1