summaryrefslogtreecommitdiff
path: root/src/lib/elementary/efl_ui_focus_manager_calc.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/elementary/efl_ui_focus_manager_calc.c')
-rw-r--r--src/lib/elementary/efl_ui_focus_manager_calc.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/lib/elementary/efl_ui_focus_manager_calc.c b/src/lib/elementary/efl_ui_focus_manager_calc.c
index 3232ca23ce..44b723bc12 100644
--- a/src/lib/elementary/efl_ui_focus_manager_calc.c
+++ b/src/lib/elementary/efl_ui_focus_manager_calc.c
@@ -172,7 +172,7 @@ node_item_free(Node *item)
172 Node *n; 172 Node *n;
173 Eina_List *l; 173 Eina_List *l;
174 //free the graph items 174 //free the graph items
175 for(int i = EFL_UI_FOCUS_DIRECTION_UP;i < NODE_DIRECTIONS_COUNT; i++) 175 for(int i = EFL_UI_FOCUS_DIRECTION_UP;i < EFL_UI_FOCUS_DIRECTION_LAST; i++)
176 { 176 {
177 border_partners_set(item, i, NULL); 177 border_partners_set(item, i, NULL);
178 } 178 }
@@ -845,7 +845,7 @@ _efl_ui_focus_manager_calc_unregister(Eo *obj EINA_UNUSED, Efl_Ui_Focus_Manager_
845 } 845 }
846 846
847 //add all neighbors of the node to the dirty list 847 //add all neighbors of the node to the dirty list
848 for(int i = EFL_UI_FOCUS_DIRECTION_UP; i < NODE_DIRECTIONS_COUNT; i++) 848 for(int i = EFL_UI_FOCUS_DIRECTION_UP; i < EFL_UI_FOCUS_DIRECTION_LAST; i++)
849 { 849 {
850 Node *partner; 850 Node *partner;
851 Eina_List *n; 851 Eina_List *n;
@@ -949,7 +949,7 @@ _iterator_next(Border_Elements_Iterator *it, void **data)
949 949
950 EINA_ITERATOR_FOREACH(it->real_iterator, node) 950 EINA_ITERATOR_FOREACH(it->real_iterator, node)
951 { 951 {
952 for(int i = EFL_UI_FOCUS_DIRECTION_UP ;i < NODE_DIRECTIONS_COUNT; i++) 952 for(int i = EFL_UI_FOCUS_DIRECTION_UP ;i < EFL_UI_FOCUS_DIRECTION_LAST; i++)
953 { 953 {
954 if (node->type != NODE_TYPE_ONLY_LOGICAL && 954 if (node->type != NODE_TYPE_ONLY_LOGICAL &&
955 !DIRECTION_ACCESS(node, i).partners) 955 !DIRECTION_ACCESS(node, i).partners)