aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorEli Zaretskii2016-01-22 23:14:01 +0200
committerEli Zaretskii2016-01-22 23:14:01 +0200
commit5221f45047507d7306211b8df064a89b2f1706fa (patch)
tree1f1730bd9925e42e8b0ce5a1b71fc520e788ff54 /src
parent849a314c7a8a179052b524dfb56c8e723c8f6e82 (diff)
downloademacs-5221f45047507d7306211b8df064a89b2f1706fa.tar.gz
emacs-5221f45047507d7306211b8df064a89b2f1706fa.zip
Fix the build with --enable-checking=glyphs
* src/xdisp.c (dump_glyph): Don't refer to glyph->u.xwidget in a build without xwidget support.
Diffstat (limited to 'src')
-rw-r--r--src/xdisp.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/xdisp.c b/src/xdisp.c
index bba475f8938..157fa729fcf 100644
--- a/src/xdisp.c
+++ b/src/xdisp.c
@@ -18828,7 +18828,11 @@ dump_glyph (struct glyph_row *row, struct glyph *glyph, int area)
18828 else if (glyph->type == XWIDGET_GLYPH) 18828 else if (glyph->type == XWIDGET_GLYPH)
18829 { 18829 {
18830 fprintf (stderr, 18830 fprintf (stderr,
18831#ifdef HAVE_XWIDGETS
18831 " %5d %4c %6d %c %3d 0x%05x %c %4d %1.1d%1.1d\n", 18832 " %5d %4c %6d %c %3d 0x%05x %c %4d %1.1d%1.1d\n",
18833#else
18834 " %5d %4c %6d %c %3d %c %4d %1.1d%1.1d\n",
18835#endif
18832 glyph - row->glyphs[TEXT_AREA], 18836 glyph - row->glyphs[TEXT_AREA],
18833 'X', 18837 'X',
18834 glyph->charpos, 18838 glyph->charpos,
@@ -18838,7 +18842,9 @@ dump_glyph (struct glyph_row *row, struct glyph *glyph, int area)
18838 ? 'S' 18842 ? 'S'
18839 : '-')), 18843 : '-')),
18840 glyph->pixel_width, 18844 glyph->pixel_width,
18845#ifdef HAVE_XWIDGETS
18841 glyph->u.xwidget, 18846 glyph->u.xwidget,
18847#endif
18842 '.', 18848 '.',
18843 glyph->face_id, 18849 glyph->face_id,
18844 glyph->left_box_line_p, 18850 glyph->left_box_line_p,