diff options
author | Gerd Moellmann <[email protected]> | 2000-03-27 16:05:50 +0000 |
---|---|---|
committer | Gerd Moellmann <[email protected]> | 2000-03-27 16:05:50 +0000 |
commit | c1005d06e8faa630d180fcd16fa2c6db65051e2f (patch) | |
tree | 38d33f57d580c08ff6b673dc3f7fe48df9aae8a7 /src/xdisp.c | |
parent | 5f15d71229d0aca9ab7dd4e27a3bd6094e9d789f (diff) |
(face_before_or_after_it_pos): Pass multibyteness
to DEC_TEXT_POS and INC_TEXT_POS.
Diffstat (limited to 'src/xdisp.c')
-rw-r--r-- | src/xdisp.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/xdisp.c b/src/xdisp.c index 12c9505143..16ab84c9cb 100644 --- a/src/xdisp.c +++ b/src/xdisp.c @@ -1969,7 +1969,7 @@ face_before_or_after_it_pos (it, before_p) pos = it->current.pos; if (before_p) - DEC_TEXT_POS (pos); + DEC_TEXT_POS (pos, it->multibyte_p); else { if (it->what == IT_COMPOSITION) @@ -1977,7 +1977,7 @@ face_before_or_after_it_pos (it, before_p) composition. */ pos.charpos += it->cmp_len, pos.bytepos += it->len; else - INC_TEXT_POS (pos); + INC_TEXT_POS (pos, it->multibyte_p); } /* Determine face for CHARSET_ASCII, or unibyte. */ face_id = face_at_buffer_position (it->w, |