]> git.eshelyaron.com Git - emacs.git/commitdiff
(x_load_font): Use string_byte.
authorRichard M. Stallman <rms@gnu.org>
Fri, 9 Jan 1998 23:22:56 +0000 (23:22 +0000)
committerRichard M. Stallman <rms@gnu.org>
Fri, 9 Jan 1998 23:22:56 +0000 (23:22 +0000)
src/xterm.c

index 06a40fcdf7e65e9da3b509547c5340bc3c28f088..e910de5b281f9460d6ff44e4ba69a6476aec965f 100644 (file)
@@ -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);