Fix one -Wshadow-compatible-local warning

From https://bugzilla.mozilla.org/show_bug.cgi?id=1215894
This commit is contained in:
Behdad Esfahbod 2015-10-21 11:13:21 -02:00
parent 50e5750bd8
commit b90cb366d7
1 changed files with 2 additions and 2 deletions

View File

@ -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)
{
unsigned int old_pos = i;
for (unsigned int i = base + 1; i < old_pos; i++)
if (info[i].indic_category() == OT_M)
for (unsigned int j = base + 1; j < old_pos; j++)
if (info[j].indic_category() == OT_M)
{
new_pos--;
break;