summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGuillaume Cottenceau <gc@mandriva.com>2001-08-14 14:35:19 +0000
committerGuillaume Cottenceau <gc@mandriva.com>2001-08-14 14:35:19 +0000
commit9122b5609b501554a312d851e9433a0d2a081491 (patch)
tree6f36e4b5947bf28519d6d0837e45eee45d25b5cf
parent806e5ddd32f5ea26833430ae6064437b73ce3cc9 (diff)
downloaddrakx-9122b5609b501554a312d851e9433a0d2a081491.tar
drakx-9122b5609b501554a312d851e9433a0d2a081491.tar.gz
drakx-9122b5609b501554a312d851e9433a0d2a081491.tar.bz2
drakx-9122b5609b501554a312d851e9433a0d2a081491.tar.xz
drakx-9122b5609b501554a312d851e9433a0d2a081491.zip
fix automatic configuration
-rw-r--r--perl-install/Xconfigurator.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/Xconfigurator.pm b/perl-install/Xconfigurator.pm
index d8513507b..9349a8e4e 100644
--- a/perl-install/Xconfigurator.pm
+++ b/perl-install/Xconfigurator.pm
@@ -860,7 +860,7 @@ sub resolutionsConfiguration {
#- there could be a problem.
#- memory in KB is approximated by $wres*$dpeth/14 which is little less
#- than memory really used, (correct factor is 13.65333 for w/h ratio of 1.33333).
- if (!$wres || $auto && ($wres < 1024 && ($card->{memory} / ($wres * $depth / 14)) > 2)) {
+ if (!$wres || $auto && ref($in) !~ /class_discard/ && ($wres < 1024 && ($card->{memory} / ($wres * $depth / 14)) > 2)) {
delete $card->{depth};
return resolutionsConfiguration($o);
}