summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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;
}
}