bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#11850: crash (null font) running emacs built from git


From: Eli Zaretskii
Subject: bug#11850: crash (null font) running emacs built from git
Date: Tue, 03 Jul 2012 20:15:51 +0300

Does the following band-aid help?

=== modified file 'src/xterm.c'
--- src/xterm.c 2012-06-28 07:50:50 +0000
+++ src/xterm.c 2012-07-03 17:14:22 +0000
@@ -1207,7 +1207,8 @@ x_draw_glyph_string_background (struct g
          XSetFillStyle (s->display, s->gc, FillSolid);
          s->background_filled_p = 1;
        }
-      else if (FONT_HEIGHT (s->font) < s->height - 2 * box_line_width
+      else if ((s->font
+               && FONT_HEIGHT (s->font) < s->height - 2 * box_line_width)
               || s->font_not_found_p
               || s->extends_to_end_of_line_p
               || force_p)






reply via email to

[Prev in Thread] Current Thread [Next in Thread]