From 5f15d71229d0aca9ab7dd4e27a3bd6094e9d789f Mon Sep 17 00:00:00 2001 From: Gerd Moellmann Date: Mon, 27 Mar 2000 16:03:29 +0000 Subject: [PATCH] (direct_output_for_insert): Use DEC_TEXT_POS with parameter MULTIBYTE_P. --- src/dispnew.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/dispnew.c b/src/dispnew.c index dddee0eef8d..00590605af2 100644 --- a/src/dispnew.c +++ b/src/dispnew.c @@ -3162,7 +3162,7 @@ direct_output_for_insert (g) 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); -- 2.39.5