aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJohan Bockgård2020-02-19 20:41:18 +0100
committerJohan Bockgård2020-02-19 20:41:18 +0100
commit4b118bdca1d8aa130fb67eadb16e08e87e698aa4 (patch)
tree1e67831ff04e03ca50cb3b0a0c2a40aece4e77eb /src
parente1e1bd8f85c53fea9f61b6ec99b461ddd93461b9 (diff)
downloademacs-4b118bdca1d8aa130fb67eadb16e08e87e698aa4.tar.gz
emacs-4b118bdca1d8aa130fb67eadb16e08e87e698aa4.zip
Fix search for ~/.Xdefaults-HOSTNAME (again)
* src/xrdb.c (get_environ_db): Fix typo when handling ~/.Xdefaults-HOSTNAME.
Diffstat (limited to 'src')
-rw-r--r--src/xrdb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/xrdb.c b/src/xrdb.c
index ad7155c106e..e3a1fcb15a9 100644
--- a/src/xrdb.c
+++ b/src/xrdb.c
@@ -353,7 +353,7 @@ get_environ_db (void)
353 p = filename = xmalloc (strlen (home) + 1 + sizeof xdefaults 353 p = filename = xmalloc (strlen (home) + 1 + sizeof xdefaults
354 + 1 + SBYTES (system_name)); 354 + 1 + SBYTES (system_name));
355 char *e = splice_dir_file (p, home, xdefaults); 355 char *e = splice_dir_file (p, home, xdefaults);
356 *e++ = '/'; 356 *e++ = '-';
357 lispstpcpy (e, system_name); 357 lispstpcpy (e, system_name);
358 } 358 }
359 } 359 }