changeset 40199:58c5e5aacc45

(display_line): For a tab continued to the next line, set row's ends_in_middle_of_char_p.
author Gerd Moellmann <gerd@gnu.org>
date Tue, 23 Oct 2001 10:01:54 +0000
parents 0bd966523c89
children e47b212066d2
files src/xdisp.c
diffstat 1 files changed, 4 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/xdisp.c	Tue Oct 23 09:05:27 2001 +0000
+++ b/src/xdisp.c	Tue Oct 23 10:01:54 2001 +0000
@@ -12944,7 +12944,10 @@
 
 		      /* A TAB takes us to the right edge of the window.  */
 		      if (it->c == '\t')
-			it->continuation_lines_width += it->last_visible_x;
+			{
+			  it->continuation_lines_width += it->last_visible_x;
+			  row->ends_in_middle_of_char_p = 1;
+			}
 		      else
 			it->continuation_lines_width += x;