Edje_Edit: use correct description array accessing

its a loop with j, but not with i
kinda a little typo

@fix
This commit is contained in:
Vitalii Vorobiov 2016-10-25 18:22:50 +03:00
parent 0b290a260c
commit aa423e7669
1 changed files with 6 additions and 6 deletions

View File

@ -3372,12 +3372,12 @@ edje_edit_part_del(Evas_Object *obj, const char *part)
for (j = 0; j < real->part->other.desc_count; ++j)
{
if (real->part->other.desc[i]->map.id_persp == rp->part->id)
real->part->other.desc[i]->map.id_persp = -1;
if (real->part->other.desc[i]->map.id_light == rp->part->id)
real->part->other.desc[i]->map.id_light = -1;
if (real->part->other.desc[i]->map.rot.id_center == rp->part->id)
real->part->other.desc[i]->map.rot.id_center = -1;
if (real->part->other.desc[j]->map.id_persp == rp->part->id)
real->part->other.desc[j]->map.id_persp = -1;
if (real->part->other.desc[j]->map.id_light == rp->part->id)
real->part->other.desc[j]->map.id_light = -1;
if (real->part->other.desc[j]->map.rot.id_center == rp->part->id)
real->part->other.desc[j]->map.rot.id_center = -1;
}
}