]> git.eshelyaron.com Git - emacs.git/commitdiff
(display_text_line): Use INC_BOTH for unibyte buffers too.
authorRichard M. Stallman <rms@gnu.org>
Sat, 14 Feb 1998 07:27:58 +0000 (07:27 +0000)
committerRichard M. Stallman <rms@gnu.org>
Sat, 14 Feb 1998 07:27:58 +0000 (07:27 +0000)
src/xdisp.c

index 399cd0ebae2195a0422c252da293c6e1ff2c4fe7..3f4f3099057e0e7fe937897c3029b306e66c2fc2 100644 (file)
@@ -3569,10 +3569,7 @@ display_text_line (w, start, start_byte, vpos, hpos, taboffset, ovstr_done)
              int opoint = PT, opoint_byte = PT_BYTE;
 
              invis = 1;
-             if (! NILP (current_buffer->enable_multibyte_characters))
-               INC_BOTH (pos, pos_byte);
-             else
-               pos++, pos_byte++;
+             INC_BOTH (pos, pos_byte);
              scan_newline (pos, pos_byte, ZV, ZV_BYTE, 1, 1);
              if (FETCH_BYTE (pos_byte - 1) == '\n')
                {