forked from enlightenment/efl
test_ui_table: fix uninitialized variable warning
maybe right, maybe wrong, maybe compile warnings shouldn't be added in reviewed patches ref D5668
This commit is contained in:
parent
c9ac2338d4
commit
1a68db9951
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in New Issue