From d7b8b87f29e207a30480a1d51cbb61316d2959d6 Mon Sep 17 00:00:00 2001 From: Pascal Rigaux Date: Tue, 10 Feb 2004 10:06:12 +0000 Subject: prefer BoardName to card_name --- perl-install/Xconfig/resolution_and_depth.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'perl-install') 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; -- cgit v1.2.1