1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-12-18 10:16:51 +00:00

(x_load_font): Use string_byte.

This commit is contained in:
Richard M. Stallman 1998-01-09 23:22:56 +00:00
parent 0120fdf9e3
commit e361a3c34d

View 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);