comparison src/xterm.c @ 8528:e52f4cbff616

(x_new_font): Don't set filename = full_name if that's null.
author Richard M. Stallman <rms@gnu.org>
date Fri, 12 Aug 1994 05:23:38 +0000
parents 6e4b40c80021
children 5447a2a6972e
comparison
equal deleted inserted replaced
8527:5a5893b8bc1c 8528:e52f4cbff616
5252 x_font_table[n_fonts].full_name = full_name; 5252 x_font_table[n_fonts].full_name = full_name;
5253 else 5253 else
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. */
5261 if (FRAME_X_WINDOW (f) != 0) 5262 if (FRAME_X_WINDOW (f) != 0)
5262 { 5263 {