* src/xdisp.c (maybe_produce_line_number): Add assertion for the
condition regarding IT->glyph_row->used[TEXT_AREA] expected by the
code. (Bug#27668)
struct glyph *p = it->glyph_row ? it->glyph_row->glyphs[TEXT_AREA] : NULL;
short *u = it->glyph_row ? &it->glyph_row->used[TEXT_AREA] : NULL;
+ eassert (it->glyph_row == NULL || it->glyph_row->used[TEXT_AREA] == 0);
+
for ( ; g < e; g++)
{
it->current_x += g->pixel_width;