# HG changeset patch # User Gerd Moellmann # Date 954173079 0 # Node ID a568b23317fe5abe11a5f8f9ba96fb31de08e2eb # Parent eccb57c44da5e1fd17c8a88ca25d6794f684360a (face_before_or_after_it_pos): Pass multibyteness to DEC_TEXT_POS and INC_TEXT_POS. diff -r eccb57c44da5 -r a568b23317fe src/xdisp.c --- a/src/xdisp.c Mon Mar 27 16:03:29 2000 +0000 +++ b/src/xdisp.c Mon Mar 27 16:04:39 2000 +0000 @@ -1969,7 +1969,7 @@ 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 @@ 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,