Summary:
the loop in infinite because of wrong condition.
need to loop while the count of list_index.
Reviewers: cedric, zmike
Subscribers: zmike, #reviewers, #committers
Tags: #efl
Differential Revision: https://phab.enlightenment.org/D7925
Change-Id: Id209ee3c44ec8225dd2ad6a7a07b04ad2338ce0c
Eina_Binbuf *cbuf;
Eina_Binbuf *tbuf;
Eina_List *l = NULL;
+ unsigned int i;
_efl_ui_exact_model_list_find(list_index, compressed, &l);
}
// Fill the list all the way to the needed index with buffer full of zero
- while (list_index) compressed = eina_list_append(compressed, z);
+ for (i = 0; i < list_index; i++)
+ {
+ compressed = eina_list_append(compressed, z);
+ }
l = eina_list_last(compressed);
}