Mercurial > emacs
changeset 8528:e52f4cbff616
(x_new_font): Don't set filename = full_name if that's null.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Fri, 12 Aug 1994 05:23:38 +0000 |
parents | 5a5893b8bc1c |
children | 464f7abd0b26 |
files | src/xterm.c |
diffstat | 1 files changed, 2 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/xterm.c Thu Aug 11 22:57:41 1994 +0000 +++ b/src/xterm.c Fri Aug 12 05:23:38 1994 +0000 @@ -5254,7 +5254,8 @@ x_font_table[n_fonts].full_name = x_font_table[n_fonts].name; f->display.x->font = x_font_table[n_fonts++].font = font; - fontname = full_name; + if (full_name) + fontname = full_name; } /* Now make the frame display the given font. */