]> git.eshelyaron.com Git - emacs.git/commitdiff
(x_new_fontset): For ASCII font, don't use the font name
authorKenichi Handa <handa@m17n.org>
Sat, 30 Jan 1999 01:46:35 +0000 (01:46 +0000)
committerKenichi Handa <handa@m17n.org>
Sat, 30 Jan 1999 01:46:35 +0000 (01:46 +0000)
returned by x_new_font (the resolved one) but use the font name
set in the fontset specification.

src/xterm.c

index 95d6d05dcb888cf1fbe01e503c1c7e3d78cb3b08..361a0d1159e28f3e63c869d9c6a6bcf660d2cad2 100644 (file)
@@ -5432,7 +5432,7 @@ x_new_fontset (f, fontsetname)
   /* 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);
 }