summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2007-09-25 14:15:39 +0000
committerPascal Rigaux <pixel@mandriva.com>2007-09-25 14:15:39 +0000
commit3ed91757530edbbba478575621b5e4eb3a640a0c (patch)
tree872649367349bd42185e97bcbe7b0c06dc22d6ac
parentb7f97114d0f3cd0c6e1cfc275f9e054d0f87ac69 (diff)
downloaddrakx-kbd-mouse-x11-3ed91757530edbbba478575621b5e4eb3a640a0c.tar
drakx-kbd-mouse-x11-3ed91757530edbbba478575621b5e4eb3a640a0c.tar.gz
drakx-kbd-mouse-x11-3ed91757530edbbba478575621b5e4eb3a640a0c.tar.bz2
drakx-kbd-mouse-x11-3ed91757530edbbba478575621b5e4eb3a640a0c.tar.xz
drakx-kbd-mouse-x11-3ed91757530edbbba478575621b5e4eb3a640a0c.zip
oops, revert debug code
-rw-r--r--lib/Xconfig/monitor.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Xconfig/monitor.pm b/lib/Xconfig/monitor.pm
index 11ce497..891f382 100644
--- a/lib/Xconfig/monitor.pm
+++ b/lib/Xconfig/monitor.pm
@@ -127,7 +127,7 @@ sub choose {
local $::noauto = 0; #- hey, you asked for plug'n play, so i do probe!
delete @$monitor{'VendorName', 'ModelName', 'EISA_ID', 'HorizSync', 'VertRefresh'};
if ($head_nb <= 1) {
- if (my $probed_info = 0 && probe($card_Driver)) {
+ if (my $probed_info = probe($card_Driver)) {
put_in_hash($monitor, $probed_info);
} else {
log::l("Plug'n Play probing failed, but Xorg may do better");