summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2009-10-26 15:42:56 +0000
committerThierry Vignaud <tv@mandriva.org>2009-10-26 15:42:56 +0000
commite9ab19d1b868eca9235a59767e46e0048ca23108 (patch)
tree6b8c9f620ad6655b693ceeb16e7fc2da185afaa9
parentb259361ab3675763c4f04237b2d76daf63b926cb (diff)
downloaddrakx-kbd-mouse-x11-e9ab19d1b868eca9235a59767e46e0048ca23108.tar
drakx-kbd-mouse-x11-e9ab19d1b868eca9235a59767e46e0048ca23108.tar.gz
drakx-kbd-mouse-x11-e9ab19d1b868eca9235a59767e46e0048ca23108.tar.bz2
drakx-kbd-mouse-x11-e9ab19d1b868eca9235a59767e46e0048ca23108.tar.xz
drakx-kbd-mouse-x11-e9ab19d1b868eca9235a59767e46e0048ca23108.zip
perl_checker cleanups
-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 2fe2397..a856780 100644
--- a/lib/Xconfig/card.pm
+++ b/lib/Xconfig/card.pm
@@ -108,7 +108,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:();
+ ($_->{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') {