From: Richard M. Stallman Date: Fri, 12 Aug 1994 05:23:38 +0000 (+0000) Subject: (x_new_font): Don't set filename = full_name if that's null. X-Git-Tag: emacs-19.34~7325 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=d53067dc627e009095594dea66a57513397a8cb2;p=emacs.git (x_new_font): Don't set filename = full_name if that's null. --- 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) 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. */