comparison src/xdisp.c @ 29449:9f4660c2f1b9

(display_line): While checking line continuation, pay attention to a padding glyph.
author Kenichi Handa <handa@m17n.org>
date Tue, 06 Jun 2000 01:10:17 +0000
parents cb3ad8f8f0ed
children 159e43bc7e3c
comparison
equal deleted inserted replaced
29448:348aa1a6a062 29449:9f4660c2f1b9
11317 struct glyph *glyph; 11317 struct glyph *glyph;
11318 11318
11319 for (i = 0; i < nglyphs; ++i, x = new_x) 11319 for (i = 0; i < nglyphs; ++i, x = new_x)
11320 { 11320 {
11321 glyph = row->glyphs[TEXT_AREA] + n_glyphs_before + i; 11321 glyph = row->glyphs[TEXT_AREA] + n_glyphs_before + i;
11322 if (CHAR_GLYPH_PADDING_P (*glyph))
11323 continue;
11322 new_x = x + glyph->pixel_width; 11324 new_x = x + glyph->pixel_width;
11323 11325
11324 if (/* Lines are continued. */ 11326 if (/* Lines are continued. */
11325 !it->truncate_lines_p 11327 !it->truncate_lines_p
11326 && (/* Glyph doesn't fit on the line. */ 11328 && (/* Glyph doesn't fit on the line. */