]> git.eshelyaron.com Git - emacs.git/commitdiff
(x_new_font): Don't set filename = full_name if that's null.
authorRichard M. Stallman <rms@gnu.org>
Fri, 12 Aug 1994 05:23:38 +0000 (05:23 +0000)
committerRichard M. Stallman <rms@gnu.org>
Fri, 12 Aug 1994 05:23:38 +0000 (05:23 +0000)
src/xterm.c

index b7427b445ecb9cf1dc275c0ce9a6aa0ef283e011..7df40e7f0d7f7b05cb43879dc10865d8a2819040 100644 (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.  */