diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/xterm.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/xterm.c b/src/xterm.c index 06a40fcdf7e..e910de5b281 100644 --- a/src/xterm.c +++ b/src/xterm.c | |||
| @@ -6930,8 +6930,8 @@ x_term_init (display_name, xrm_option, resource_name) | |||
| 6930 | #endif /* ! 0 */ | 6930 | #endif /* ! 0 */ |
| 6931 | 6931 | ||
| 6932 | dpyinfo->x_id_name | 6932 | dpyinfo->x_id_name |
| 6933 | = (char *) xmalloc (XSTRING (Vinvocation_name)->size | 6933 | = (char *) xmalloc (XSTRING (Vinvocation_name)->size_byte |
| 6934 | + XSTRING (Vsystem_name)->size | 6934 | + XSTRING (Vsystem_name)->size_byte |
| 6935 | + 2); | 6935 | + 2); |
| 6936 | sprintf (dpyinfo->x_id_name, "%s@%s", | 6936 | sprintf (dpyinfo->x_id_name, "%s@%s", |
| 6937 | XSTRING (Vinvocation_name)->data, XSTRING (Vsystem_name)->data); | 6937 | XSTRING (Vinvocation_name)->data, XSTRING (Vsystem_name)->data); |