summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2004-05-13 08:02:51 +0000
committerPascal Rigaux <pixel@mandriva.com>2004-05-13 08:02:51 +0000
commit29a2a329574efc2b945de3d9f2dc08803c6dafd9 (patch)
treeea19c3ceeb0e2eee805d7d6f2dc4752fb3a1bd9f
parentd08ca3afaba12ded477f93213d3a79bf5c57bc20 (diff)
downloaddrakx-29a2a329574efc2b945de3d9f2dc08803c6dafd9.tar
drakx-29a2a329574efc2b945de3d9f2dc08803c6dafd9.tar.gz
drakx-29a2a329574efc2b945de3d9f2dc08803c6dafd9.tar.bz2
drakx-29a2a329574efc2b945de3d9f2dc08803c6dafd9.tar.xz
drakx-29a2a329574efc2b945de3d9f2dc08803c6dafd9.zip
speed-up monitor choosing dialog when {VendorName} is undef (esp. when using "use diagnostics")
-rw-r--r--perl-install/Xconfig/monitor.pm2
1 files changed, 1 insertions, 1 deletions
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);
}