summaryrefslogtreecommitdiffstats
path: root/lib/Xconfig/card.pm
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mageia.org>2011-12-12 19:54:45 +0000
committerThierry Vignaud <tv@mageia.org>2011-12-12 19:54:45 +0000
commit36a43be36a784802cfdb26bb73928272f8c374b4 (patch)
tree5d133dfd5bbd152f97eed02c0825d20ea14a1400 /lib/Xconfig/card.pm
parent47c6c715201b683d65beac6965fccb6157c8541c (diff)
downloaddrakx-kbd-mouse-x11-36a43be36a784802cfdb26bb73928272f8c374b4.tar
drakx-kbd-mouse-x11-36a43be36a784802cfdb26bb73928272f8c374b4.tar.gz
drakx-kbd-mouse-x11-36a43be36a784802cfdb26bb73928272f8c374b4.tar.bz2
drakx-kbd-mouse-x11-36a43be36a784802cfdb26bb73928272f8c374b4.tar.xz
drakx-kbd-mouse-x11-36a43be36a784802cfdb26bb73928272f8c374b4.zip
(to_raw_X) simplify
(N.B.: not found by perl_checker :-( )
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 8f2c680..133dd08 100644
--- a/lib/Xconfig/card.pm
+++ b/lib/Xconfig/card.pm
@@ -60,7 +60,7 @@ sub to_raw_X {
my @cards = ($card, @{$card->{cards} || []});
foreach (@cards) {
- if (arch() =~ /ppc/ && ($_->{Driver} eq 'r128' || $_->{Driver} eq 'radeon')) {
+ if (arch() =~ /ppc/ && member($_->{Driver}, qw(r128 radeon))) {
$_->{UseFBDev} = 1;
}
}