Fix search for ~/.Xdefaults-HOSTNAME (again)

* src/xrdb.c (get_environ_db): Fix typo when handling
~/.Xdefaults-HOSTNAME.
This commit is contained in:
Johan Bockgård 2020-02-19 20:41:18 +01:00
parent e1e1bd8f85
commit 4b118bdca1

View file

@ -353,7 +353,7 @@ get_environ_db (void)
p = filename = xmalloc (strlen (home) + 1 + sizeof xdefaults
+ 1 + SBYTES (system_name));
char *e = splice_dir_file (p, home, xdefaults);
*e++ = '/';
*e++ = '-';
lispstpcpy (e, system_name);
}
}