diff --git a/legacy/elementary/src/lib/elm_genlist.c b/legacy/elementary/src/lib/elm_genlist.c index 23c2a397c2..1c423f67ff 100644 --- a/legacy/elementary/src/lib/elm_genlist.c +++ b/legacy/elementary/src/lib/elm_genlist.c @@ -2256,14 +2256,12 @@ _item_block_position(Item_Block *itb, } if (!it->move_effect_enabled) { - { - if (it->mode_view) - _item_position(it, it->mode_view, it->scrl_x, - it->scrl_y); - else - _item_position(it, it->base.view, it->scrl_x, - it->scrl_y); - } + if (it->mode_view) + _item_position(it, it->mode_view, it->scrl_x, + it->scrl_y); + else + _item_position(it, it->base.view, it->scrl_x, + it->scrl_y); it->old_scrl_y = it->scrl_y; } }