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 71009803a..a706bd947 100644
--- a/src/lib/elm_genlist.c
+++ b/src/lib/elm_genlist.c
@@ -7254,7 +7254,7 @@ elm_genlist_item_cursor_engine_only_get(const Elm_Object_Item *eo_it)
7254EOLIAN static int 7254EOLIAN static int
7255_elm_genlist_item_index_get(Eo *eo_it EINA_UNUSED, Elm_Gen_Item *it) 7255_elm_genlist_item_index_get(Eo *eo_it EINA_UNUSED, Elm_Gen_Item *it)
7256{ 7256{
7257 int cnt = 0; 7257 int cnt = 1;
7258 Elm_Gen_Item *tmp; 7258 Elm_Gen_Item *tmp;
7259 ELM_GENLIST_ITEM_CHECK_OR_RETURN(it, -1); 7259 ELM_GENLIST_ITEM_CHECK_OR_RETURN(it, -1);
7260 7260
diff --git a/src/lib/elm_genlist_item.eo b/src/lib/elm_genlist_item.eo
index 18b5f4bab..ef35ded79 100644
--- a/src/lib/elm_genlist_item.eo
+++ b/src/lib/elm_genlist_item.eo
@@ -163,7 +163,7 @@ class Elm.Genlist_Item(Elm.Widget_Item)
163 get { 163 get {
164 [[Get the index of the item. It is only valid once displayed. 164 [[Get the index of the item. It is only valid once displayed.
165 165
166 The index start from 0. 166 The index start from 1.
167 ]] 167 ]]
168 } 168 }
169 values { 169 values {