aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/xterm.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/xterm.c b/src/xterm.c
index b7427b445ec..7df40e7f0d7 100644
--- a/src/xterm.c
+++ b/src/xterm.c
@@ -5254,7 +5254,8 @@ x_new_font (f, fontname)
5254 x_font_table[n_fonts].full_name = x_font_table[n_fonts].name; 5254 x_font_table[n_fonts].full_name = x_font_table[n_fonts].name;
5255 f->display.x->font = x_font_table[n_fonts++].font = font; 5255 f->display.x->font = x_font_table[n_fonts++].font = font;
5256 5256
5257 fontname = full_name; 5257 if (full_name)
5258 fontname = full_name;
5258 } 5259 }
5259 5260
5260 /* Now make the frame display the given font. */ 5261 /* Now make the frame display the given font. */