diff options
| author | Richard M. Stallman | 1998-01-09 23:22:56 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 1998-01-09 23:22:56 +0000 |
| commit | e361a3c34daa33743807c94971a30677e7947e9d (patch) | |
| tree | 237ec9725e25814fbf57fc0e7c1ad18763c6f9b8 /src | |
| parent | 0120fdf9e38782d60d627e4c42e2be6660e90ddc (diff) | |
| download | emacs-e361a3c34daa33743807c94971a30677e7947e9d.tar.gz emacs-e361a3c34daa33743807c94971a30677e7947e9d.zip | |
(x_load_font): Use string_byte.
Diffstat (limited to 'src')
| -rw-r--r-- | src/xterm.c | 4 |
1 files changed, 2 insertions, 2 deletions
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) | |||
| 6930 | #endif /* ! 0 */ | 6930 | #endif /* ! 0 */ |
| 6931 | 6931 | ||
| 6932 | dpyinfo->x_id_name | 6932 | dpyinfo->x_id_name |
| 6933 | = (char *) xmalloc (XSTRING (Vinvocation_name)->size | 6933 | = (char *) xmalloc (XSTRING (Vinvocation_name)->size_byte |
| 6934 | + XSTRING (Vsystem_name)->size | 6934 | + XSTRING (Vsystem_name)->size_byte |
| 6935 | + 2); | 6935 | + 2); |
| 6936 | sprintf (dpyinfo->x_id_name, "%s@%s", | 6936 | sprintf (dpyinfo->x_id_name, "%s@%s", |
| 6937 | XSTRING (Vinvocation_name)->data, XSTRING (Vsystem_name)->data); | 6937 | XSTRING (Vinvocation_name)->data, XSTRING (Vsystem_name)->data); |