Fix from rob.

This commit is contained in:
wkj 2004-06-24 00:36:58 +00:00
parent 60f5a99860
commit e915fe7c58
2 changed files with 16 additions and 17 deletions

View file

@ -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);
}