Fix from rob.
This commit is contained in:
parent
60f5a99860
commit
e915fe7c58
2 changed files with 16 additions and 17 deletions
|
|
@ -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);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue