mirror of
https://github.com/storytold/harfbuzz.git
synced 2026-11-23 07:51:10 +01:00
[indic] Use a hb_swap()
This commit is contained in:
1 parent
0b92c57984
commit
3fd9311649
1 file changed
+1
-3
@@ -482,9 +482,7 @@ initial_reordering_consonant_syllable (const hb_ot_shape_plan_t *plan,
|
||||
is_one_of (info[start+2], FLAG (I_Cat(ZWJ))))
|
||||
{
|
||||
buffer->merge_clusters (start+1, start+3);
|
||||
hb_glyph_info_t tmp = info[start+1];
|
||||
info[start+1] = info[start+2];
|
||||
info[start+2] = tmp;
|
||||
hb_swap (info[start+1], info[start+2]);
|
||||
}
|
||||
|
||||
/* 1. Find base consonant:
|
||||
|
||||
Reference in new issue
Block a user