summaryrefslogtreecommitdiff
path: root/hw
diff options
context:
space:
mode:
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 */