mirror of
https://github.com/harfbuzz/harfbuzz.git
synced 2025-04-04 21:15:06 +00:00
[matcher] Fix reverse-sub test
This commit is contained in:
parent
a79e372935
commit
974f82862a
1 changed files with 1 additions and 1 deletions
|
@ -522,7 +522,7 @@ struct hb_ot_apply_context_t :
|
||||||
{
|
{
|
||||||
idx = start_index_;
|
idx = start_index_;
|
||||||
end = c->buffer->len;
|
end = c->buffer->len;
|
||||||
matcher.set_syllable (per_syllable ? c->buffer->cur().syllable () : 0);
|
matcher.set_syllable (per_syllable && c->buffer->idx < c->buffer->len ? c->buffer->cur().syllable () : 0);
|
||||||
}
|
}
|
||||||
|
|
||||||
#ifndef HB_OPTIMIZE_SIZE
|
#ifndef HB_OPTIMIZE_SIZE
|
||||||
|
|
Loading…
Add table
Reference in a new issue