summaryrefslogtreecommitdiff
path: root/hw
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@sun.com>2008-11-24 20:37:58 -0800
committerAlan Coopersmith <alan.coopersmith@sun.com>2008-11-24 20:37:58 -0800
commit599a0f3f1e3ae92676e3648471576c0001cfd9ae (patch)
treed8c80ab43aee8d54cf43ea4e15d66f95c65f1327 /hw
parent5bf2c88d2317230b95b2904cb975167d03ee13a2 (diff)
Amazing how these things hide until you see the diff come back from the commit list.
Diffstat (limited to 'hw')
-rw-r--r--hw/xfree86/common/xf86Configure.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/xfree86/common/xf86Configure.c b/hw/xfree86/common/xf86Configure.c
index 777806043..b4ec7295f 100644
--- a/hw/xfree86/common/xf86Configure.c
+++ b/hw/xfree86/common/xf86Configure.c
@@ -771,7 +771,7 @@ DoConfigure(void)
xf86config->conf_layout_lst = configureLayoutSection();
home = getenv("HOME");
- if ((home == NULL) || (home[0] = '\0')) {
+ if ((home == NULL) || (home[0] == '\0')) {
home = "/";
} else {
/* Determine if trailing slash is present or needed */