diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2004-02-10 10:06:12 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2004-02-10 10:06:12 +0000 |
commit | d7b8b87f29e207a30480a1d51cbb61316d2959d6 (patch) | |
tree | 13e9407956e9a1e40d02c3e108a62272ea68a370 /perl-install | |
parent | 15ad66df5155d7a6135fdd513cf20f3361ee1e05 (diff) | |
download | drakx-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')
-rw-r--r-- | perl-install/Xconfig/resolution_and_depth.pm | 2 |
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; |