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 d351f28cf..cd7eac15e 100644
--- a/src/lib/elm_genlist.c
+++ b/src/lib/elm_genlist.c
@@ -7134,7 +7134,7 @@ elm_genlist_item_cursor_engine_only_get(const Elm_Object_Item *eo_it)
7134EOLIAN static int 7134EOLIAN static int
7135_elm_genlist_item_index_get(Eo *eo_it EINA_UNUSED, Elm_Gen_Item *it) 7135_elm_genlist_item_index_get(Eo *eo_it EINA_UNUSED, Elm_Gen_Item *it)
7136{ 7136{
7137 int cnt = 1; 7137 int cnt = 0;
7138 Elm_Gen_Item *tmp; 7138 Elm_Gen_Item *tmp;
7139 ELM_GENLIST_ITEM_CHECK_OR_RETURN(it, -1); 7139 ELM_GENLIST_ITEM_CHECK_OR_RETURN(it, -1);
7140 7140
diff --git a/src/lib/elm_genlist_item.eo b/src/lib/elm_genlist_item.eo
index 80984ab94..32df599db 100644
--- a/src/lib/elm_genlist_item.eo
+++ b/src/lib/elm_genlist_item.eo
@@ -169,7 +169,7 @@ class Elm_Genlist_Item(Elm_Widget_Item)
169 /*@ 169 /*@
170 Get the index of the item. It is only valid once displayed. 170 Get the index of the item. It is only valid once displayed.
171 171
172 The index start from 1. 172 The index start from 0.
173 173
174 @ingroup Genlist 174 @ingroup Genlist
175 */ 175 */