From f6e7abc110d43407fbd1b61790cefa4c381614bb Mon Sep 17 00:00:00 2001 From: Karl Heuer Date: Sun, 18 Jan 1998 04:06:12 +0000 Subject: [PATCH] (display_text_line): Set pos_byte with pos when skipping invisible. --- src/xdisp.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/xdisp.c b/src/xdisp.c index 495e1f425ba..5b136771255 100644 --- a/src/xdisp.c +++ b/src/xdisp.c @@ -3424,6 +3424,7 @@ display_text_line (w, start, start_byte, vpos, hpos, taboffset, ovstr_done) cursor_hpos = p1 - leftmargin; } pos = next_boundary; + pos_byte = CHAR_TO_BYTE (pos); last_invis_skip = pos; last_invis_prop = prop; } -- 2.39.5