Commit 10cda9b0 authored by Kenichi Handa's avatar Kenichi Handa
Browse files

(display_line): While checking line continuation, pay attention to a

padding glyph.
parent 1ac0700a
No preview for this file type
...@@ -11319,6 +11319,8 @@ display_line (it) ...@@ -11319,6 +11319,8 @@ display_line (it)
for (i = 0; i < nglyphs; ++i, x = new_x) for (i = 0; i < nglyphs; ++i, x = new_x)
{ {
glyph = row->glyphs[TEXT_AREA] + n_glyphs_before + i; glyph = row->glyphs[TEXT_AREA] + n_glyphs_before + i;
if (CHAR_GLYPH_PADDING_P (*glyph))
continue;
new_x = x + glyph->pixel_width; new_x = x + glyph->pixel_width;
if (/* Lines are continued. */ if (/* Lines are continued. */
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment