# HG changeset patch # User Gerd Moellmann # Date 954173009 0 # Node ID eccb57c44da5e1fd17c8a88ca25d6794f684360a # Parent 37743eccd7aaf1c9e7d4a04bd43c7d029c438cfe (direct_output_for_insert): Use DEC_TEXT_POS with parameter MULTIBYTE_P. diff -r 37743eccd7aa -r eccb57c44da5 src/dispnew.c --- 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);