summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/lib/elm_genlist.c2
-rw-r--r--src/lib/elm_genlist_item.eo2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/elm_genlist.c b/src/lib/elm_genlist.c
index aae1e0589..22b5de134 100644
--- a/src/lib/elm_genlist.c
+++ b/src/lib/elm_genlist.c
@@ -7237,7 +7237,7 @@ elm_genlist_item_cursor_engine_only_get(const Elm_Object_Item *eo_it)
7237EOLIAN static int 7237EOLIAN static int
7238_elm_genlist_item_index_get(Eo *eo_it EINA_UNUSED, Elm_Gen_Item *it) 7238_elm_genlist_item_index_get(Eo *eo_it EINA_UNUSED, Elm_Gen_Item *it)
7239{ 7239{
7240 int cnt = 0; 7240 int cnt = 1;
7241 Elm_Gen_Item *tmp; 7241 Elm_Gen_Item *tmp;
7242 ELM_GENLIST_ITEM_CHECK_OR_RETURN(it, -1); 7242 ELM_GENLIST_ITEM_CHECK_OR_RETURN(it, -1);
7243 7243
diff --git a/src/lib/elm_genlist_item.eo b/src/lib/elm_genlist_item.eo
index a3cb674d7..d78a06d47 100644
--- a/src/lib/elm_genlist_item.eo
+++ b/src/lib/elm_genlist_item.eo
@@ -206,7 +206,7 @@ class Elm.Genlist_Item(Elm.Widget_Item)
206 /*@ 206 /*@
207 Get the index of the item. It is only valid once displayed. 207 Get the index of the item. It is only valid once displayed.
208 208
209 The index start from 0. 209 The index start from 1.
210 210
211 @ingroup Genlist 211 @ingroup Genlist
212 */ 212 */