aboutsummaryrefslogtreecommitdiff
path: root/src/libdraw/x11-init.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/libdraw/x11-init.c')
-rw-r--r--src/libdraw/x11-init.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libdraw/x11-init.c b/src/libdraw/x11-init.c
index 4d7f2238..4ab2979a 100644
--- a/src/libdraw/x11-init.c
+++ b/src/libdraw/x11-init.c
@@ -349,7 +349,7 @@ xattach(char *label)
home = getenv("home");
if(home == nil)
home = getenv("HOME");
- if(home!=nil && (file=smprint("%s/.Xdefaults")) != nil){
+ if(home!=nil && (file=smprint("%s/.Xdefaults", home)) != nil){
XrmCombineFileDatabase(file, &database, False);
free(file);
}