From: Richard M. Stallman Date: Fri, 9 Jan 1998 23:22:56 +0000 (+0000) Subject: (x_load_font): Use string_byte. X-Git-Tag: emacs-20.3~2442 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=e361a3c34daa33743807c94971a30677e7947e9d;p=emacs.git (x_load_font): Use string_byte. --- 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);