Fix one -Wshadow-compatible-local warning
From https://bugzilla.mozilla.org/show_bug.cgi?id=1215894
This commit is contained in:
parent
50e5750bd8
commit
b90cb366d7
|
@ -1631,8 +1631,8 @@ final_reordering_syllable (const hb_ot_shape_plan_t *plan,
|
||||||
if (new_pos > start && info[new_pos - 1].indic_category() == OT_M)
|
if (new_pos > start && info[new_pos - 1].indic_category() == OT_M)
|
||||||
{
|
{
|
||||||
unsigned int old_pos = i;
|
unsigned int old_pos = i;
|
||||||
for (unsigned int i = base + 1; i < old_pos; i++)
|
for (unsigned int j = base + 1; j < old_pos; j++)
|
||||||
if (info[i].indic_category() == OT_M)
|
if (info[j].indic_category() == OT_M)
|
||||||
{
|
{
|
||||||
new_pos--;
|
new_pos--;
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Reference in New Issue