summaryrefslogtreecommitdiffstats
path: root/xf86config.py
diff options
context:
space:
mode:
authorbfox <bfox>2000-12-19 00:28:24 +0000
committerbfox <bfox>2000-12-19 00:28:24 +0000
commitdf30ee41ac2a488000b887e5dc2388b822254a7d (patch)
treeb321aa8e4c0d0146eb3fe4ba030084062b5e84cd /xf86config.py
parenta43cb46b0d29099451383493ef8c266779105e58 (diff)
downloadanaconda-df30ee41ac2a488000b887e5dc2388b822254a7d.tar.gz
anaconda-df30ee41ac2a488000b887e5dc2388b822254a7d.tar.xz
anaconda-df30ee41ac2a488000b887e5dc2388b822254a7d.zip
Fixed really stupid bug that I caused. Fixes bugs #21904 and #22069
Diffstat (limited to 'xf86config.py')
-rw-r--r--xf86config.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/xf86config.py b/xf86config.py
index 638aaeffc..3583dddff 100644
--- a/xf86config.py
+++ b/xf86config.py
@@ -1258,10 +1258,12 @@ Section "Screen"
# self.vidCards[self.primary]["DRIVER"] = "vga"
# see if 16 bpp is available, and if it should be the
# default depth
+
if self.keyVariant:
- info["enableVariant"] = ""
+ data["enableVariant"] = ""
if self.keyOptions:
- info["enableOptions"] = ""
+ data["enableOptions"] = ""
+
if maxdepth > 0:
if maxdepth > 16 and '16' in self.modes.keys() and self.modes['16']:
data["defaultDepth"] = "\n\tDefaultDepth\t16"