Mercurial > emacs
diff src/xterm.c @ 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 | 6e4b40c80021 |
| children | 5447a2a6972e |
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. */
