rimmed pushed a commit to branch eflete-1.18.

http://git.enlightenment.org/tools/eflete.git/commit/?id=4b36cb6f03e497027f48a4de7de4b5c867739c60

commit 4b36cb6f03e497027f48a4de7de4b5c867739c60
Author: Andrii Kroitor <an.kroi...@samsung.com>
Date:   Thu Sep 15 14:51:12 2016 +0300

    editor_part: fix macros usage error
    
    Fix svace WID 436695
---
 src/bin/editor/editor_part.c | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/src/bin/editor/editor_part.c b/src/bin/editor/editor_part.c
index 52d3848..ad338d6 100644
--- a/src/bin/editor/editor_part.c
+++ b/src/bin/editor/editor_part.c
@@ -958,8 +958,10 @@ _editor_part_del(Evas_Object *edit_object, Change *change, 
Eina_Bool merge __UNU
                   RESET_PART_REF(textblock_anchors_under, source5);
                   RESET_PART_REF(textblock_anchors_over, source6);
                }
-             if (type == EDJE_PART_TYPE_GROUP)
-               RESET_PART_REF(group_source, source);
+             else if (type == EDJE_PART_TYPE_GROUP)
+               {
+                  RESET_PART_REF(group_source, source);
+               }
 
           }
         edje_edit_string_list_free(parts);

-- 


Reply via email to