diff src/xdisp.c @ 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 05919533e157
children 10a3afa36ed2
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;
 		}