changeset 28361:eccb57c44da5

(direct_output_for_insert): Use DEC_TEXT_POS with parameter MULTIBYTE_P.
author Gerd Moellmann <gerd@gnu.org>
date Mon, 27 Mar 2000 16:03:29 +0000
parents 37743eccd7aa
children a568b23317fe
files src/dispnew.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/dispnew.c	Mon Mar 27 16:02:34 2000 +0000
+++ b/src/dispnew.c	Mon Mar 27 16:03:29 2000 +0000
@@ -3162,7 +3162,7 @@
      position.  */
   clear_glyph_row (&scratch_glyph_row);
   SET_TEXT_POS (pos, PT, PT_BYTE);
-  DEC_TEXT_POS (pos);
+  DEC_TEXT_POS (pos, !NILP (current_buffer->enable_multibyte_characters));
   init_iterator (&it, w, CHARPOS (pos), BYTEPOS (pos), &scratch_glyph_row,
 		 DEFAULT_FACE_ID);