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:
parent
258d0451ea
commit
d53067dc62
1 changed files with 2 additions and 1 deletions
|
|
@ -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. */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue