mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-24 14:30:43 -08:00
(check_composition): Check validity of composition.
This commit is contained in:
parent
e6ebcbbed8
commit
9ee6df62dd
1 changed files with 2 additions and 1 deletions
|
|
@ -281,7 +281,8 @@ check_composition (pos, pos_byte, point, len, len_byte, width)
|
|||
int id;
|
||||
|
||||
if (! find_composition (pos, -1, &start, &end, &prop, Qnil)
|
||||
|| pos != start || point < end)
|
||||
|| pos != start || point < end
|
||||
|| !COMPOSITION_VALID_P (start, end, prop))
|
||||
return 0;
|
||||
if ((id = get_composition_id (pos, pos_byte, end - pos, prop, Qnil)) < 0)
|
||||
return 0;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue