aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/xfns.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/xfns.c b/src/xfns.c
index 54dd80ee480..cc0464f8d1d 100644
--- a/src/xfns.c
+++ b/src/xfns.c
@@ -1754,8 +1754,10 @@ be shared by the new frame.")
1754 Lisp_Object font; 1754 Lisp_Object font;
1755 1755
1756 /* Try out a font which we know has bold and italic variations. */ 1756 /* Try out a font which we know has bold and italic variations. */
1757 BLOCK_INPUT;
1757 font = x_new_font (f, "-*-*-medium-r-*-*-*-*-*-*-c-*-iso8859-1"); 1758 font = x_new_font (f, "-*-*-medium-r-*-*-*-*-*-*-c-*-iso8859-1");
1758 if (NILP (font)) 1759 UNBLOCK_INPUT;
1760 if (! STRINGP (font))
1759 font = build_string ("-*-fixed-*-*-*-*-*-120-*-*-c-*-iso8859-1"); 1761 font = build_string ("-*-fixed-*-*-*-*-*-120-*-*-c-*-iso8859-1");
1760 1762
1761 x_default_parameter (f, parms, Qfont, font, 1763 x_default_parameter (f, parms, Qfont, font,