changeset 20666:7e740edb4d52

(display_text_line): Set pos_byte with pos when skipping invisible.
author Karl Heuer <kwzh@gnu.org>
date Sun, 18 Jan 1998 04:06:12 +0000
parents 5d82beffb498
children 64af046211eb
files src/xdisp.c
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/xdisp.c	Sun Jan 18 03:39:09 1998 +0000
+++ b/src/xdisp.c	Sun Jan 18 04:06:12 1998 +0000
@@ -3424,6 +3424,7 @@
 		      cursor_hpos = p1 - leftmargin;
 		    }
 		  pos = next_boundary;
+		  pos_byte = CHAR_TO_BYTE (pos);
 		  last_invis_skip = pos;
 		  last_invis_prop = prop;
 		}