zmike pushed a commit to branch efl-1.22.

http://git.enlightenment.org/core/efl.git/commit/?id=1eaccf79328398a9b47f29ba218e0362a8035370

commit 1eaccf79328398a9b47f29ba218e0362a8035370
Author: Mike Blumenkrantz <[email protected]>
Date:   Wed May 29 09:17:07 2019 -0400

    elm/diskselector: fix handling in theme data setup
    
    Summary:
    the previous code checked for the object which was required to execute
    the remainder of the function, then returned if that object existed instead
    of continuing with the function. hello?
    
    @fix
    Depends on D8956
    
    Reviewers: devilhorns
    
    Reviewed By: devilhorns
    
    Subscribers: cedric, #reviewers, #committers
    
    Tags: #efl
    
    Differential Revision: https://phab.enlightenment.org/D8957
---
 src/lib/elementary/elm_diskselector.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/lib/elementary/elm_diskselector.c 
b/src/lib/elementary/elm_diskselector.c
index fd2494f00c..a018771136 100644
--- a/src/lib/elementary/elm_diskselector.c
+++ b/src/lib/elementary/elm_diskselector.c
@@ -784,7 +784,7 @@ _theme_data_get(Evas_Object *obj)
    ELM_DISKSELECTOR_DATA_GET(obj, sd);
 
    blank = eina_list_data_get(sd->right_blanks);
-   if (blank) return;
+   if (!blank) return;
 
    str = edje_object_data_get(blank, "len_threshold");
    if (str) sd->len_threshold = MAX(0, atoi(str));

-- 


Reply via email to