1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-30 09:00:31 -08:00

(x_new_font): Don't set filename = full_name if that's null.

This commit is contained in:
Richard M. Stallman 1994-08-12 05:23:38 +00:00
parent 258d0451ea
commit d53067dc62

View file

@ -5254,7 +5254,8 @@ x_new_font (f, fontname)
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. */