diff options
author | Thierry Vignaud <tv@mageia.org> | 2011-12-12 19:54:45 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mageia.org> | 2011-12-12 19:54:45 +0000 |
commit | 36a43be36a784802cfdb26bb73928272f8c374b4 (patch) | |
tree | 5d133dfd5bbd152f97eed02c0825d20ea14a1400 /lib/Xconfig | |
parent | 47c6c715201b683d65beac6965fccb6157c8541c (diff) | |
download | drakx-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')
-rw-r--r-- | lib/Xconfig/card.pm | 2 |
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; } } |