aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorKenichi Handa1999-01-30 01:46:35 +0000
committerKenichi Handa1999-01-30 01:46:35 +0000
commit715a159be226dec8f65e86f50cd0780462debabd (patch)
tree5e5e63d61b41fd944c747146a12f6affa345e42e /src
parente6b0b77374980ab1a143e0e1bc77fa66a1145cf5 (diff)
downloademacs-715a159be226dec8f65e86f50cd0780462debabd.tar.gz
emacs-715a159be226dec8f65e86f50cd0780462debabd.zip
(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.
Diffstat (limited to 'src')
-rw-r--r--src/xterm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/xterm.c b/src/xterm.c
index 95d6d05dcb8..361a0d1159e 100644
--- a/src/xterm.c
+++ b/src/xterm.c
@@ -5432,7 +5432,7 @@ x_new_fontset (f, fontsetname)
5432 /* Since x_new_font doesn't update any fontset information, do it now. */ 5432 /* Since x_new_font doesn't update any fontset information, do it now. */
5433 f->output_data.x->fontset = fontset; 5433 f->output_data.x->fontset = fontset;
5434 FS_LOAD_FONT (f, FRAME_X_FONT_TABLE (f), 5434 FS_LOAD_FONT (f, FRAME_X_FONT_TABLE (f),
5435 CHARSET_ASCII, XSTRING (result)->data, fontset); 5435 CHARSET_ASCII, fontsetp->fontname[CHARSET_ASCII], fontset);
5436 5436
5437 return build_string (fontsetname); 5437 return build_string (fontsetname);
5438} 5438}