From: Karl Heuer Date: Sun, 18 Jan 1998 04:06:12 +0000 (+0000) Subject: (display_text_line): Set pos_byte with pos X-Git-Tag: emacs-20.3~2408 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=f6e7abc110d43407fbd1b61790cefa4c381614bb;p=emacs.git (display_text_line): Set pos_byte with pos when skipping invisible. --- 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; }