]> git.eshelyaron.com Git - emacs.git/commitdiff
(display_text_line): When handling selective > 0,
authorKarl Heuer <kwzh@gnu.org>
Sun, 12 Apr 1998 06:45:08 +0000 (06:45 +0000)
committerKarl Heuer <kwzh@gnu.org>
Sun, 12 Apr 1998 06:45:08 +0000 (06:45 +0000)
update pos and pos_byte with results of calling scan_newline.

src/xdisp.c

index 86e776df608511056421215cbafc9f77e9cb3bf9..069a73863fee864d04a318c212c5c1feadd66400 100644 (file)
@@ -3599,6 +3599,7 @@ display_text_line (w, start, start_byte, vpos, hpos, taboffset, ovstr_done)
              invis = 1;
              INC_BOTH (pos, pos_byte);
              scan_newline (pos, pos_byte, ZV, ZV_BYTE, 1, 1);
+             pos = PT, pos_byte = PT_BYTE;
              if (FETCH_BYTE (pos_byte - 1) == '\n')
                {
                  pos--;