From e361a3c34daa33743807c94971a30677e7947e9d Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Fri, 9 Jan 1998 23:22:56 +0000 Subject: [PATCH] (x_load_font): Use string_byte. --- src/xterm.c | 4 ++-- 1 file 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) #endif /* ! 0 */ dpyinfo->x_id_name - = (char *) xmalloc (XSTRING (Vinvocation_name)->size - + XSTRING (Vsystem_name)->size + = (char *) xmalloc (XSTRING (Vinvocation_name)->size_byte + + XSTRING (Vsystem_name)->size_byte + 2); sprintf (dpyinfo->x_id_name, "%s@%s", XSTRING (Vinvocation_name)->data, XSTRING (Vsystem_name)->data); -- 2.39.5