From 29a2a329574efc2b945de3d9f2dc08803c6dafd9 Mon Sep 17 00:00:00 2001 From: Pascal Rigaux Date: Thu, 13 May 2004 08:02:51 +0000 Subject: speed-up monitor choosing dialog when {VendorName} is undef (esp. when using "use diagnostics") --- perl-install/Xconfig/monitor.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'perl-install/Xconfig') diff --git a/perl-install/Xconfig/monitor.pm b/perl-install/Xconfig/monitor.pm index 008e0aef8..a83aa29d2 100644 --- a/perl-install/Xconfig/monitor.pm +++ b/perl-install/Xconfig/monitor.pm @@ -156,7 +156,7 @@ sub configure_automatic { log::l("unknown EISA_ID and partial DDC probe, so unknown monitor"); delete @$monitor{'VendorName', 'ModelName', 'EISA_ID'}; } - } else { + } elsif ($monitor->{VendorName}) { if (my $mon = find { $_->{VendorName} eq $monitor->{VendorName} && $_->{ModelName} eq $monitor->{ModelName} } @$monitors_db) { put_in_hash($monitor, $mon); } -- cgit v1.2.1