summaryrefslogtreecommitdiffstats
path: root/xserver.py
diff options
context:
space:
mode:
authorMatt Wilson <msw@redhat.com>1999-08-21 19:52:20 +0000
committerMatt Wilson <msw@redhat.com>1999-08-21 19:52:20 +0000
commiteaab0d3447fcc348a6c29cef7f8ad84d12b29a04 (patch)
tree6ef9a0bb48d29369bdfd46a62ea5867ac93f0ab6 /xserver.py
parent68f00d4352d68b4c1181ea0e739ca25cdc7a24ed (diff)
downloadanaconda-eaab0d3447fcc348a6c29cef7f8ad84d12b29a04.tar.gz
anaconda-eaab0d3447fcc348a6c29cef7f8ad84d12b29a04.tar.xz
anaconda-eaab0d3447fcc348a6c29cef7f8ad84d12b29a04.zip
fixup
Diffstat (limited to 'xserver.py')
-rw-r--r--xserver.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/xserver.py b/xserver.py
index 25039f57c..2056b59ad 100644
--- a/xserver.py
+++ b/xserver.py
@@ -82,7 +82,7 @@ def startX():
print "PCI probe for video cards failed. Falling back to", serverPath
else:
(device, driver, descr) = cards[0]
- if driver[0:4] == "Card:":
+ if driver[0:5] == "Card:":
card = findCardInDB (driver[5:])
if card.has_key ("SERVER"):
serverPath = '/usr/X11R6/bin/XF86_' + card["SERVER"]
@@ -91,7 +91,7 @@ def startX():
"Falling back to VGA16")
serverPath = '/usr/X11R6/bin/XF86_VGA16'
else:
- if driver[0:6] == "Server:":
+ if driver[0:7] == "Server:":
serverPath = '/usr/X11R6/bin/XF86_' + driver[7:]
isys.makeDevInode(mouseDev, "/tmp/" + mouseDev)