]> git.eshelyaron.com Git - emacs.git/commitdiff
(display_text_line): Set pos_byte with pos
authorKarl Heuer <kwzh@gnu.org>
Sun, 18 Jan 1998 04:06:12 +0000 (04:06 +0000)
committerKarl Heuer <kwzh@gnu.org>
Sun, 18 Jan 1998 04:06:12 +0000 (04:06 +0000)
when skipping invisible.

src/xdisp.c

index 495e1f425baeb0520419f678487b45b52abe4c6f..5b1367712556206f0ba126bacdcc49c48c326838 100644 (file)
@@ -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;
                }