aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorGerd Moellmann2000-03-27 16:03:29 +0000
committerGerd Moellmann2000-03-27 16:03:29 +0000
commit5f15d71229d0aca9ab7dd4e27a3bd6094e9d789f (patch)
tree81bcc7416eb06d71fd4495894356bbcd4d55b6e1 /src
parent7bed37e412c8fa2a7db05bb51a8d4806c39f532d (diff)
downloademacs-5f15d71229d0aca9ab7dd4e27a3bd6094e9d789f.tar.gz
emacs-5f15d71229d0aca9ab7dd4e27a3bd6094e9d789f.zip
(direct_output_for_insert): Use DEC_TEXT_POS
with parameter MULTIBYTE_P.
Diffstat (limited to 'src')
-rw-r--r--src/dispnew.c2
1 files changed, 1 insertions, 1 deletions
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)
3162 position. */ 3162 position. */
3163 clear_glyph_row (&scratch_glyph_row); 3163 clear_glyph_row (&scratch_glyph_row);
3164 SET_TEXT_POS (pos, PT, PT_BYTE); 3164 SET_TEXT_POS (pos, PT, PT_BYTE);
3165 DEC_TEXT_POS (pos); 3165 DEC_TEXT_POS (pos, !NILP (current_buffer->enable_multibyte_characters));
3166 init_iterator (&it, w, CHARPOS (pos), BYTEPOS (pos), &scratch_glyph_row, 3166 init_iterator (&it, w, CHARPOS (pos), BYTEPOS (pos), &scratch_glyph_row,
3167 DEFAULT_FACE_ID); 3167 DEFAULT_FACE_ID);
3168 3168