]> git.eshelyaron.com Git - emacs.git/commitdiff
Fix search for ~/.Xdefaults-HOSTNAME (again)
authorJohan Bockgård <bojohan@gnu.org>
Wed, 19 Feb 2020 19:41:18 +0000 (20:41 +0100)
committerJohan Bockgård <bojohan@gnu.org>
Wed, 19 Feb 2020 19:41:18 +0000 (20:41 +0100)
* src/xrdb.c (get_environ_db): Fix typo when handling
~/.Xdefaults-HOSTNAME.

src/xrdb.c

index ad7155c106e50bfdf1f1dd91c75c1e50c47e8f84..e3a1fcb15a98177c54831432edb1f491afe50283 100644 (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);
        }
     }