forked from enlightenment/efl
elm_genlist.c: added {} pair for if statement + loop combination.
Special thanks to Tasn.
This commit is contained in:
parent
1a0e1fcbe4
commit
fc241f5c41
|
@ -3984,8 +3984,10 @@ _access_activate_cb(void *data __UNUSED__,
|
|||
Elm_Gen_Item *it2;
|
||||
|
||||
EINA_LIST_FOREACH_SAFE(sd->selected, l, l_next, it2)
|
||||
if (it2 != it)
|
||||
_item_unselect(it2);
|
||||
{
|
||||
if (it2 != it)
|
||||
_item_unselect(it2);
|
||||
}
|
||||
}
|
||||
_item_highlight(it);
|
||||
it->sel_cb(it);
|
||||
|
@ -4144,8 +4146,10 @@ _item_mouse_up_cb(void *data,
|
|||
Elm_Gen_Item *it2;
|
||||
|
||||
EINA_LIST_FOREACH_SAFE(sd->selected, l, l_next, it2)
|
||||
if (it2 != it)
|
||||
_item_unselect(it2);
|
||||
{
|
||||
if (it2 != it)
|
||||
_item_unselect(it2);
|
||||
}
|
||||
}
|
||||
_item_highlight(it);
|
||||
it->sel_cb(it);
|
||||
|
|
Loading…
Reference in New Issue