aboutsummaryrefslogtreecommitdiffstats
path: root/src/w32term.c
diff options
context:
space:
mode:
authorGlenn Morris2018-02-09 11:12:48 -0800
committerGlenn Morris2018-02-09 11:12:48 -0800
commit875cb835f00260d58c536b3a3f7c0343fd5f28dc (patch)
tree4f59af87328e8d4d69667b3b35c42f795e7d3d29 /src/w32term.c
parent05e8b4392be7fb368dcf4e4a19f75f94b323028d (diff)
parent0276743672672ce0caec7861741293a4ae11cb52 (diff)
downloademacs-875cb835f00260d58c536b3a3f7c0343fd5f28dc.tar.gz
emacs-875cb835f00260d58c536b3a3f7c0343fd5f28dc.zip
Merge from origin/emacs-26
0276743 (origin/emacs-26) Doc string fix in latin-alt.el c9269af Minor improvements in package.texi 898a3e4 Minor improvement in Emacs user manual 8f7d718 * doc/lispref/anti.texi (Antinews): Replace 25.2 with 25.3. 989d0af Improve documentation of mini-window resizing 923e415 More changes in the Emacs manual 565adf2 Clarify that text-quoting-style doesn't affect *Info* (Bug#24... 2dd273b Mention that shell quoting of % on w32 may fail (Bug#19350) 19fa6d5 Fix --no-build-details for w32 and macOS 979944c * doc/lispref/anti.texi (Antinews): Add some more antinews. c2727e3 Fix crashes when run with --no-build-details dc08490 More changes for the manual 04c5bd5 Doc fixes for process functions (Bug#30349) e209034 Fix shr and CSS 4 color maps 5fe8192 Yet another round of improvements in the manual Conflicts: doc/emacs/files.texi test/lisp/subr-tests.el
Diffstat (limited to 'src/w32term.c')
-rw-r--r--src/w32term.c13
1 files changed, 9 insertions, 4 deletions
diff --git a/src/w32term.c b/src/w32term.c
index 137c798c463..c1d039c1375 100644
--- a/src/w32term.c
+++ b/src/w32term.c
@@ -6922,10 +6922,15 @@ w32_initialize_display_info (Lisp_Object display_name)
6922 memset (dpyinfo, 0, sizeof (*dpyinfo)); 6922 memset (dpyinfo, 0, sizeof (*dpyinfo));
6923 6923
6924 dpyinfo->name_list_element = Fcons (display_name, Qnil); 6924 dpyinfo->name_list_element = Fcons (display_name, Qnil);
6925 dpyinfo->w32_id_name = xmalloc (SCHARS (Vinvocation_name) 6925 if (STRINGP (Vsystem_name))
6926 + SCHARS (Vsystem_name) + 2); 6926 {
6927 sprintf (dpyinfo->w32_id_name, "%s@%s", 6927 dpyinfo->w32_id_name = xmalloc (SCHARS (Vinvocation_name)
6928 SDATA (Vinvocation_name), SDATA (Vsystem_name)); 6928 + SCHARS (Vsystem_name) + 2);
6929 sprintf (dpyinfo->w32_id_name, "%s@%s",
6930 SDATA (Vinvocation_name), SDATA (Vsystem_name));
6931 }
6932 else
6933 dpyinfo->w32_id_name = xlispstrdup (Vinvocation_name);
6929 6934
6930 /* Default Console mode values - overridden when running in GUI mode 6935 /* Default Console mode values - overridden when running in GUI mode
6931 with values obtained from system metrics. */ 6936 with values obtained from system metrics. */