From: Vitalii Vorobiov Date: Tue, 25 Oct 2016 15:22:50 +0000 (+0300) Subject: Edje_Edit: use correct description array accessing X-Git-Tag: submit/tizen/20161026.040418^0 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=1b15d31a0c02cadfadbeb55a109fb5c8c0f93d97;p=platform%2Fupstream%2Fefl.git Edje_Edit: use correct description array accessing its a loop with j, but not with i kinda a little typo @fix Change-Id: Ia026363b48db5ff3179e57fa46cb49b79145d775 Signed-off-by: Vitalii Vorobiov --- diff --git a/src/lib/edje/edje_edit.c b/src/lib/edje/edje_edit.c index 0e1e80d..6f9c45d 100644 --- a/src/lib/edje/edje_edit.c +++ b/src/lib/edje/edje_edit.c @@ -3339,12 +3339,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; } }