furrymyad pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=aa423e7669e9faf40eb211ca457531439d10f4a1

commit aa423e7669e9faf40eb211ca457531439d10f4a1
Author: Vitalii Vorobiov <vi.vorob...@samsung.com>
Date:   Tue Oct 25 18:22:50 2016 +0300

    Edje_Edit: use correct description array accessing
    
    its a loop with j, but not with i
    kinda a little typo
    
    @fix
---
 src/lib/edje/edje_edit.c | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/src/lib/edje/edje_edit.c b/src/lib/edje/edje_edit.c
index b9ba2d3..aa41124 100644
--- a/src/lib/edje/edje_edit.c
+++ b/src/lib/edje/edje_edit.c
@@ -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;
           }
      }
 

-- 


Reply via email to