summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorShobhit <s.parashari@samsung.com>2014-07-15 12:15:53 +0900
committerChunEon Park <hermet@hermet.pe.kr>2014-07-15 12:15:53 +0900
commitff26a69d1112936a98fd87769855bf311d2d3a81 (patch)
tree540e69b67e5a348c933934a934744ecfa4d69ccf
parent9c644b794768e36b608c47e43bb02c68a504d1ee (diff)
genlist: Removed unnecessary calculation.
Summary: Removed unnecessary calculation from _elm_genlist_elm_widget_focus_highlight_geometry_get() Test Plan: elementary_test -to "genlist focus" Reviewers: seoz, Hermet Reviewed By: Hermet Subscribers: sachin.dev Differential Revision: https://phab.enlightenment.org/D1145
-rw-r--r--src/lib/elm_genlist.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/elm_genlist.c b/src/lib/elm_genlist.c
index 7e83c8987..bea993843 100644
--- a/src/lib/elm_genlist.c
+++ b/src/lib/elm_genlist.c
@@ -7489,7 +7489,7 @@ _elm_genlist_elm_widget_focus_highlight_geometry_get(Eo *obj EINA_UNUSED, Elm_Ge
7489 7489
7490 if ((item_x + item_w) > (ox + ow)) 7490 if ((item_x + item_w) > (ox + ow))
7491 { 7491 {
7492 *w = item_w - (item_w - ow); 7492 *w = ow;
7493 } 7493 }
7494 if (item_x < ox) 7494 if (item_x < ox)
7495 { 7495 {