avoid possible division by 0. Closes CID1295447
This commit is contained in:
parent
79761712c6
commit
d2e39f818e
|
@ -2363,6 +2363,9 @@ _tabs_refresh(Tabs *tabs)
|
|||
int i = 1;
|
||||
int n = eina_list_count(tabs->tabs);
|
||||
|
||||
if (n <= 0)
|
||||
return;
|
||||
|
||||
buf[0] = '\0';
|
||||
EINA_LIST_FOREACH(tabs->tabs, l, tab_item)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue