changeset 21478:54680b998295

(display_text_line): When handling selective > 0, update pos and pos_byte with results of calling scan_newline.
author Karl Heuer <kwzh@gnu.org>
date Sun, 12 Apr 1998 06:45:08 +0000
parents a61dfbd23534
children 89c1bfb63571
files src/xdisp.c
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/xdisp.c	Sun Apr 12 06:43:56 1998 +0000
+++ b/src/xdisp.c	Sun Apr 12 06:45:08 1998 +0000
@@ -3599,6 +3599,7 @@
 	      invis = 1;
 	      INC_BOTH (pos, pos_byte);
 	      scan_newline (pos, pos_byte, ZV, ZV_BYTE, 1, 1);
+	      pos = PT, pos_byte = PT_BYTE;
 	      if (FETCH_BYTE (pos_byte - 1) == '\n')
 		{
 		  pos--;