changeset 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 348aa1a6a062
children 480af09b86a7
files src/xdisp.c
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/xdisp.c	Tue Jun 06 01:08:19 2000 +0000
+++ b/src/xdisp.c	Tue Jun 06 01:10:17 2000 +0000
@@ -11319,6 +11319,8 @@
 	  for (i = 0; i < nglyphs; ++i, x = new_x)
 	    {
 	      glyph = row->glyphs[TEXT_AREA] + n_glyphs_before + i;
+	      if (CHAR_GLYPH_PADDING_P (*glyph))
+		continue;
 	      new_x = x + glyph->pixel_width;
 
 	      if (/* Lines are continued.  */