diff options
author | Francois Pons <fpons@mandriva.com> | 2001-04-09 16:29:37 +0000 |
---|---|---|
committer | Francois Pons <fpons@mandriva.com> | 2001-04-09 16:29:37 +0000 |
commit | b9b87a52e494574c229ab6346f103768a70680e1 (patch) | |
tree | a8c24ccaa7467d21deaa97a57afb0d3a3e567743 /perl-install/Xconfigurator.pm | |
parent | bf5b9990d18afebffbe54d97026a659b2929f2ca (diff) | |
download | drakx-b9b87a52e494574c229ab6346f103768a70680e1.tar drakx-b9b87a52e494574c229ab6346f103768a70680e1.tar.gz drakx-b9b87a52e494574c229ab6346f103768a70680e1.tar.bz2 drakx-b9b87a52e494574c229ab6346f103768a70680e1.tar.xz drakx-b9b87a52e494574c229ab6346f103768a70680e1.zip |
fixed always 8bpp for autoDefaultDepth.
Diffstat (limited to 'perl-install/Xconfigurator.pm')
-rw-r--r-- | perl-install/Xconfigurator.pm | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/perl-install/Xconfigurator.pm b/perl-install/Xconfigurator.pm index 3eb484031..cc8e02817 100644 --- a/perl-install/Xconfigurator.pm +++ b/perl-install/Xconfigurator.pm @@ -633,7 +633,8 @@ sub autoDefaultDepth($$) { #- try to have resolution_wanted $best = max($best || 0, $d) if $r->[0][0] >= $wres_wanted; - $best = $card->{suggest_depth}, last if $r->[0][0] >= $wres_wanted || $r->[0][0] >= $card->{suggest_wres}; + $best = $card->{suggest_depth}, last if ($card->{suggest_depth} && + $card->{suggest_wres} && $r->[0][0] >= $card->{suggest_wres}); } $best || $depth or die "no valid modes"; } |