summaryrefslogtreecommitdiffstats
path: root/lib/Xconfig/card.pm
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mageia.org>2012-03-24 06:29:49 +0000
committerThierry Vignaud <tv@mageia.org>2012-03-24 06:29:49 +0000
commit84071688ab52d6af5cff69229d146342ae444941 (patch)
tree6a9e77d98d6189a0bc8112ed78f13cb57f795062 /lib/Xconfig/card.pm
parent4b002564716195df76fb0de1fc264c4765d7866e (diff)
downloaddrakx-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/card.pm')
-rw-r--r--lib/Xconfig/card.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Xconfig/card.pm b/lib/Xconfig/card.pm
index 30a5929..0eab464 100644
--- a/lib/Xconfig/card.pm
+++ b/lib/Xconfig/card.pm
@@ -113,7 +113,7 @@ sub probe() {
#dual head ATI card have a dummy DISPLAY_OTHER pci device because it
#was needed by Win2000, filter those out because we don't want to
#behave as if there were 2 video cards in the system in such cases
- $_->{media_type} eq 'DISPLAY_VGA' ? $card : ();
+ if_($_->{media_type} eq 'DISPLAY_VGA', $card);
} @c;
if (@cards >= 2 && $cards[0]{card_name} eq $cards[1]{card_name} && $cards[0]{card_name} eq 'Intel 830 - 965') {