; * src/xdisp.c (face_before_or_after_it_pos): Fix thinko (bug#74241).

This commit is contained in:
Eli Zaretskii 2024-11-07 19:34:43 +02:00
parent e88309eef3
commit 3bf00777be

View file

@ -4970,7 +4970,7 @@ face_before_or_after_it_pos (struct it *it, bool before_p)
/* For composition, we must check the position after
the composition. */
pos.charpos += it->cmp_it.nchars;
pos.bytepos += it->len;
pos.bytepos += it->cmp_it.nbytes;
}
else
INC_TEXT_POS (pos, it->multibyte_p);