[hebrew] Break out of reordering loop when pattern found
This commit is contained in:
parent
42f1d7794b
commit
5998cd00c8
|
@ -182,6 +182,7 @@ reorder_marks_hebrew (const hb_ot_shape_plan_t *plan HB_UNUSED,
|
||||||
{
|
{
|
||||||
buffer->merge_clusters (i - 1, i + 1);
|
buffer->merge_clusters (i - 1, i + 1);
|
||||||
hb_swap (info[i - 1], info[i]);
|
hb_swap (info[i - 1], info[i]);
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue