Mercurial > emacs
changeset 20896:ec8cd27243b6
(display_text_line): Use INC_BOTH for unibyte buffers too.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Sat, 14 Feb 1998 07:27:58 +0000 |
parents | 896aeeb4f735 |
children | 77deec174f57 |
files | src/xdisp.c |
diffstat | 1 files changed, 1 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/src/xdisp.c Sat Feb 14 07:27:29 1998 +0000 +++ b/src/xdisp.c Sat Feb 14 07:27:58 1998 +0000 @@ -3569,10 +3569,7 @@ 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') {