diff options
author | Thierry Vignaud <tv@mageia.org> | 2012-03-24 06:29:49 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mageia.org> | 2012-03-24 06:29:49 +0000 |
commit | 84071688ab52d6af5cff69229d146342ae444941 (patch) | |
tree | 6a9e77d98d6189a0bc8112ed78f13cb57f795062 /lib/Xconfig/monitor.pm | |
parent | 4b002564716195df76fb0de1fc264c4765d7866e (diff) | |
download | drakx-kbd-mouse-x11-84071688ab52d6af5cff69229d146342ae444941.tar drakx-kbd-mouse-x11-84071688ab52d6af5cff69229d146342ae444941.tar.gz drakx-kbd-mouse-x11-84071688ab52d6af5cff69229d146342ae444941.tar.bz2 drakx-kbd-mouse-x11-84071688ab52d6af5cff69229d146342ae444941.tar.xz drakx-kbd-mouse-x11-84071688ab52d6af5cff69229d146342ae444941.zip |
perl_checker cleanups
Diffstat (limited to 'lib/Xconfig/monitor.pm')
-rw-r--r-- | lib/Xconfig/monitor.pm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Xconfig/monitor.pm b/lib/Xconfig/monitor.pm index 857ac01..2622057 100644 --- a/lib/Xconfig/monitor.pm +++ b/lib/Xconfig/monitor.pm @@ -19,7 +19,7 @@ sub good_default_monitor() { sub default_monitor { my ($card_Driver) = @_; - if (detect_devices::is_virtualbox() || detect_devices::isLaptop() || ($card_Driver eq 'siliconmotion' && arch() =~ /mips/)) { + if (detect_devices::is_virtualbox() || detect_devices::isLaptop() || $card_Driver eq 'siliconmotion' && arch() =~ /mips/) { # HACK: since there is no way to get the EDID on gdium, the resolution is passed to the kernel # so we can rely on it # in vbox, we return Plug'n'Play because the vbox integration addons @@ -213,7 +213,7 @@ sub is_valid { $monitor->{HorizSync} && $monitor->{VertRefresh} || $monitor->{VendorName} eq "Plug'n Play"; } -sub probe { +sub probe() { probe_DDC() || probe_DMI(); } |