Commit d53067dc authored by Richard M. Stallman's avatar Richard M. Stallman
Browse files

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

parent 258d0451
......@@ -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. */
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment