diff options
-rw-r--r-- | src/lib/elm_genlist.c | 2 | ||||
-rw-r--r-- | src/lib/elm_genlist_item.eo | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/elm_genlist.c b/src/lib/elm_genlist.c index 538e95491..c51e62ee9 100644 --- a/src/lib/elm_genlist.c +++ b/src/lib/elm_genlist.c @@ -7300,7 +7300,7 @@ elm_genlist_item_cursor_engine_only_get(const Elm_Object_Item *eo_it) EOLIAN static int _elm_genlist_item_index_get(Eo *eo_it EINA_UNUSED, Elm_Gen_Item *it) { - int cnt = 1; + int cnt = 0; Elm_Gen_Item *tmp; ELM_GENLIST_ITEM_CHECK_OR_RETURN(it, -1); diff --git a/src/lib/elm_genlist_item.eo b/src/lib/elm_genlist_item.eo index 695296ee9..abaf1e00b 100644 --- a/src/lib/elm_genlist_item.eo +++ b/src/lib/elm_genlist_item.eo @@ -170,7 +170,7 @@ class Elm.Genlist_Item(Elm.Widget_Item) get { [[Get the index of the item. It is only valid once displayed. - The index start from 1. + The index start from 0. ]] } values { |