summaryrefslogtreecommitdiffstats
path: root/perl-install/Xconfig
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2004-02-10 10:06:12 +0000
committerPascal Rigaux <pixel@mandriva.com>2004-02-10 10:06:12 +0000
commitd7b8b87f29e207a30480a1d51cbb61316d2959d6 (patch)
tree13e9407956e9a1e40d02c3e108a62272ea68a370 /perl-install/Xconfig
parent15ad66df5155d7a6135fdd513cf20f3361ee1e05 (diff)
downloaddrakx-d7b8b87f29e207a30480a1d51cbb61316d2959d6.tar
drakx-d7b8b87f29e207a30480a1d51cbb61316d2959d6.tar.gz
drakx-d7b8b87f29e207a30480a1d51cbb61316d2959d6.tar.bz2
drakx-d7b8b87f29e207a30480a1d51cbb61316d2959d6.tar.xz
drakx-d7b8b87f29e207a30480a1d51cbb61316d2959d6.zip
prefer BoardName to card_name
Diffstat (limited to 'perl-install/Xconfig')
-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;