summaryrefslogtreecommitdiff
path: root/src/lib
diff options
context:
space:
mode:
authorMarcel Hollerbach <marcel@osg.samsung.com>2017-12-14 11:41:33 +0100
committerMarcel Hollerbach <marcel@osg.samsung.com>2017-12-15 11:31:25 +0100
commitf1a2e0f4391fa254e2389d343065c414e0ba2933 (patch)
treefed5edd5dff085d8cbb56abc227d5eccbd5b93f9 /src/lib
parent69c595b5fdd07596fef4462b8a7e7b8efc03e12b (diff)
efl_ui_focus_manager_calc: use pow instead of powerof2
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/elementary/efl_ui_focus_manager_calc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/elementary/efl_ui_focus_manager_calc.c b/src/lib/elementary/efl_ui_focus_manager_calc.c
index 00ed4ff20e..b27e3c88ac 100644
--- a/src/lib/elementary/efl_ui_focus_manager_calc.c
+++ b/src/lib/elementary/efl_ui_focus_manager_calc.c
@@ -511,7 +511,7 @@ _calculate_node_indirection(Efl_Ui_Focus_Manager_Calc_Data *pd, Efl_Ui_Focus_Obj
511 //calculate relative position of the nodes 511 //calculate relative position of the nodes
512 pos = _relative_position_rects(&rect, &op_rect); 512 pos = _relative_position_rects(&rect, &op_rect);
513 //calculate distance 513 //calculate distance
514 distance = sqrt(powerof2(pos.x) + powerof2(pos.y)); 514 distance = sqrt(pow(pos.x, 2) + pow(pos.y, 2));
515 515
516 if (outside & outside_dir) 516 if (outside & outside_dir)
517 { 517 {