summaryrefslogtreecommitdiffstats
path: root/xf86config.py
diff options
context:
space:
mode:
authorMatt Wilson <msw@redhat.com>2000-07-25 16:05:16 +0000
committerMatt Wilson <msw@redhat.com>2000-07-25 16:05:16 +0000
commitbbd625de5ef6b95b1297d81d62613459b35c667d (patch)
treef787a0d6a111c8cfbde6bbb7c5a73593ca0bd568 /xf86config.py
parenta1abdba98bf543c0de1f84277b15b4efbab694e3 (diff)
downloadanaconda-bbd625de5ef6b95b1297d81d62613459b35c667d.tar.gz
anaconda-bbd625de5ef6b95b1297d81d62613459b35c667d.tar.xz
anaconda-bbd625de5ef6b95b1297d81d62613459b35c667d.zip
more 24bit-ism
Diffstat (limited to 'xf86config.py')
-rw-r--r--xf86config.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/xf86config.py b/xf86config.py
index ac45c74a7..037d7d58e 100644
--- a/xf86config.py
+++ b/xf86config.py
@@ -1033,6 +1033,7 @@ Section "Screen"
if not self.modes[depth]: continue
if depth == "32":
depth = "24"
+ self.modes["24"] = self.modes["32"]
if maxdepth < string.atoi(depth):
maxdepth = string.atoi(depth)
screens = screens + """
@@ -1044,6 +1045,8 @@ Section "Screen"
screens = screens + """
EndSubsection
"""
+ if depth == "24":
+ del self.modes["24"]
# XXX if we're going to be using IMPS/2 on
# reboot, but we're using PS/2 now, we'll need
# to temporarily use PS/2 so we don't frob the