changeset 24223:c7888c86b9e1

(x_new_fontset): For ASCII font, don't use the font name returned by x_new_font (the resolved one) but use the font name set in the fontset specification.
author Kenichi Handa <handa@m17n.org>
date Sat, 30 Jan 1999 01:46:35 +0000
parents 8b2cecc76fe3
children 4001ff593a99
files src/xterm.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/xterm.c	Fri Jan 29 22:06:31 1999 +0000
+++ b/src/xterm.c	Sat Jan 30 01:46:35 1999 +0000
@@ -5432,7 +5432,7 @@
   /* Since x_new_font doesn't update any fontset information, do it now.  */
   f->output_data.x->fontset = fontset;
   FS_LOAD_FONT (f, FRAME_X_FONT_TABLE (f),
-		CHARSET_ASCII, XSTRING (result)->data, fontset);
+		CHARSET_ASCII, fontsetp->fontname[CHARSET_ASCII], fontset);
 
   return build_string (fontsetname);
 }