Mercurial > emacs
changeset 36960:7c4fe2f11e23
(dump_glyph_row): Fix output for NGLYPHS == 2.
author | Gerd Moellmann <gerd@gnu.org> |
---|---|
date | Fri, 23 Mar 2001 12:24:23 +0000 |
parents | 69e2ac97db31 |
children | 308e48abddd8 |
files | src/xdisp.c |
diffstat | 1 files changed, 3 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/src/xdisp.c Fri Mar 23 12:09:53 2001 +0000 +++ b/src/xdisp.c Fri Mar 23 12:24:23 2001 +0000 @@ -11732,12 +11732,11 @@ for (area = LEFT_MARGIN_AREA; area < LAST_AREA; ++area) { - struct glyph *glyph, *glyph_end; - glyph = row->glyphs[area]; - glyph_end = glyph + row->used[area]; + struct glyph *glyph = row->glyphs[area]; + struct glyph *glyph_end = glyph + row->used[area]; /* Glyph for a line end in text. */ - if (glyph == glyph_end && glyph->charpos > 0) + if (area == TEXT_AREA && glyph == glyph_end && glyph->charpos > 0) ++glyph_end; if (glyph < glyph_end)