Genlist: Add NULL item check to *_item_next_get().

It's there for _item_prev_get(), so I guess it's expected.
This commit is contained in:
Tom Hacohen 2015-12-08 12:51:23 +00:00
parent 467814278f
commit 2c686c83c8
1 changed files with 1 additions and 0 deletions

View File

@ -6565,6 +6565,7 @@ _elm_genlist_last_item_get(Eo *obj EINA_UNUSED, Elm_Genlist_Data *sd)
EOLIAN static Elm_Object_Item *
_elm_genlist_item_next_get(Eo *eo_it EINA_UNUSED, Elm_Gen_Item *it)
{
if (!it) return NULL;
ELM_GENLIST_DATA_GET_FROM_ITEM(it, sd);
if (!sd->filter)