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:
parent
0120fdf9e3
commit
e361a3c34d
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user