discomfitor pushed a commit to branch master.

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

commit 1a68db99516ebff89e9ca01b3e4e06ed6dda6ff0
Author: Mike Blumenkrantz <zm...@osg.samsung.com>
Date:   Wed Feb 14 17:03:47 2018 -0500

    test_ui_table: fix uninitialized variable warning
    
    maybe right, maybe wrong, maybe compile warnings shouldn't be added
    in reviewed patches
    
    ref D5668
---
 src/bin/elementary/test_ui_table.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/bin/elementary/test_ui_table.c 
b/src/bin/elementary/test_ui_table.c
index d16047577a..3258582e24 100644
--- a/src/bin/elementary/test_ui_table.c
+++ b/src/bin/elementary/test_ui_table.c
@@ -151,8 +151,8 @@ _custom_layout_update(Eo *pack, void *_pd EINA_UNUSED)
           {
              Eina_Rect m;
 
-             m.x = g.x + c * g.w / cols + (cs * g.w / cols - m.w) / 2;
-             m.y = g.y + r * g.h / rows + (rs * g.h / rows - m.h) / 2;
+             m.x = g.x + c * g.w / cols + (cs * g.w / cols - g.x) / 2;
+             m.y = g.y + r * g.h / rows + (rs * g.h / rows - g.y) / 2;
              m.size = efl_gfx_size_hint_combined_min_get(item);
              efl_gfx_geometry_set(item, m);
 

-- 


Reply via email to