changeset 20632:5a2caaffa7a5

(x_load_font): Use string_byte.
author Richard M. Stallman <rms@gnu.org>
date Fri, 09 Jan 1998 23:22:56 +0000
parents bcfd8b8cd42a
children 063756386696
files src/xterm.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/xterm.c	Fri Jan 09 23:22:10 1998 +0000
+++ b/src/xterm.c	Fri Jan 09 23:22:56 1998 +0000
@@ -6930,8 +6930,8 @@
 #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);