elm_genlist.c: added {} pair for if statement + loop combination.

Special thanks to Tasn.
This commit is contained in:
Daniel Juyung Seo 2013-03-27 02:46:35 +09:00
parent 1a0e1fcbe4
commit fc241f5c41
1 changed files with 8 additions and 4 deletions

View File

@ -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);