* src/xdisp.c (dump_glyph): Redo the call to fprintf to avoid
putting #if inside the arguments to a standard function, which
the C standard says has undefined behavior.
}
else if (glyph->type == XWIDGET_GLYPH)
{
+#ifndef HAVE_XWIDGETS
+ eassume (false);
+#else
fprintf (stderr,
-#ifdef HAVE_XWIDGETS
" %5d %4c %6d %c %3d 0x%05x %c %4d %1.1d%1.1d\n",
-#else
- " %5d %4c %6d %c %3d %c %4d %1.1d%1.1d\n",
-#endif
glyph - row->glyphs[TEXT_AREA],
'X',
glyph->charpos,
? 'S'
: '-')),
glyph->pixel_width,
-#ifdef HAVE_XWIDGETS
glyph->u.xwidget,
-#endif
'.',
glyph->face_id,
glyph->left_box_line_p,
glyph->right_box_line_p);
-
+#endif
}
}