summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--perl-install/Xconfig/resolution_and_depth.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/Xconfig/resolution_and_depth.pm b/perl-install/Xconfig/resolution_and_depth.pm
index 082015b93..95c892f17 100644
--- a/perl-install/Xconfig/resolution_and_depth.pm
+++ b/perl-install/Xconfig/resolution_and_depth.pm
@@ -96,7 +96,7 @@ sub allowed {
$prefered_depth = 16;
push @depths, 16, 24;
}
- $card->{card_name} eq 'RIVA128' and @depths = qw(8 15 24); #- X doesn't even start in 16bpp for RIVA128
+ if ($card->{BoardName} eq 'RIVA128') { @depths = qw(8 15 24) } #- X doesn't even start in 16bpp for RIVA128
} elsif ($card->{use_UTAH_GLX}) {
$prefered_depth = 16;
push @depths, 16;