From b5231eda99a3833d0eebacdd188763c76f943e03 Mon Sep 17 00:00:00 2001 From: Karl Heuer Date: Sun, 12 Apr 1998 06:45:08 +0000 Subject: [PATCH] (display_text_line): When handling selective > 0, update pos and pos_byte with results of calling scan_newline. --- src/xdisp.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/xdisp.c b/src/xdisp.c index 86e776df608..069a73863fe 100644 --- a/src/xdisp.c +++ b/src/xdisp.c @@ -3599,6 +3599,7 @@ display_text_line (w, start, start_byte, vpos, hpos, taboffset, ovstr_done) 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--; -- 2.39.2