aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/xdisp.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/xdisp.c b/src/xdisp.c
index 399cd0ebae2..3f4f3099057 100644
--- a/src/xdisp.c
+++ b/src/xdisp.c
@@ -3569,10 +3569,7 @@ display_text_line (w, start, start_byte, vpos, hpos, taboffset, ovstr_done)
3569 int opoint = PT, opoint_byte = PT_BYTE; 3569 int opoint = PT, opoint_byte = PT_BYTE;
3570 3570
3571 invis = 1; 3571 invis = 1;
3572 if (! NILP (current_buffer->enable_multibyte_characters)) 3572 INC_BOTH (pos, pos_byte);
3573 INC_BOTH (pos, pos_byte);
3574 else
3575 pos++, pos_byte++;
3576 scan_newline (pos, pos_byte, ZV, ZV_BYTE, 1, 1); 3573 scan_newline (pos, pos_byte, ZV, ZV_BYTE, 1, 1);
3577 if (FETCH_BYTE (pos_byte - 1) == '\n') 3574 if (FETCH_BYTE (pos_byte - 1) == '\n')
3578 { 3575 {