hermet pushed a commit to branch master.

http://git.enlightenment.org/core/elementary.git/commit/?id=1e6736c3a13d58c4e1a01d7e23983c721051be08

commit 1e6736c3a13d58c4e1a01d7e23983c721051be08
Author: ChunEon Park <her...@hermet.pe.kr>
Date:   Tue Dec 30 15:32:41 2014 +0900

    genlist: return as possible as soon
---
 src/lib/elm_genlist.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/lib/elm_genlist.c b/src/lib/elm_genlist.c
index c99f579..bbf52a9 100644
--- a/src/lib/elm_genlist.c
+++ b/src/lib/elm_genlist.c
@@ -2415,6 +2415,8 @@ _item_multi_select_down(Elm_Genlist_Data *sd)
    if (!sd->multi) return EINA_FALSE;
 
    eo_next = elm_genlist_item_next_get(sd->last_selected_item);
+   if (!eo_next) return EINA_TRUE;
+
    while ((eo_next))
      {
         ELM_GENLIST_ITEM_DATA_GET(eo_next, next);
@@ -2424,7 +2426,6 @@ _item_multi_select_down(Elm_Genlist_Data *sd)
           break;
         eo_next = 
EO_OBJ(ELM_GEN_ITEM_FROM_INLIST(EINA_INLIST_GET(next)->next));
      }
-   if (!eo_next) return EINA_TRUE;
 
    if (elm_genlist_item_selected_get(eo_next))
      {

-- 


Reply via email to