summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Blumenkrantz <zmike@samsung.com>2019-05-29 09:17:07 -0400
committerMike Blumenkrantz <zmike@samsung.com>2019-05-29 12:29:03 -0400
commit82697854b3841ce1ab851d913329d400ca0ef77a (patch)
tree996accafb74d17b6432eaa4b93eff7427556f3ba
parentb265bb0e2be73ded38a2c019148f80851da18c32 (diff)
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
-rw-r--r--src/lib/elementary/elm_diskselector.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/elementary/elm_diskselector.c b/src/lib/elementary/elm_diskselector.c
index cd7645491a..bcbcffb4a6 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)
784 ELM_DISKSELECTOR_DATA_GET(obj, sd); 784 ELM_DISKSELECTOR_DATA_GET(obj, sd);
785 785
786 blank = eina_list_data_get(sd->right_blanks); 786 blank = eina_list_data_get(sd->right_blanks);
787 if (blank) return; 787 if (!blank) return;
788 788
789 str = edje_object_data_get(blank, "len_threshold"); 789 str = edje_object_data_get(blank, "len_threshold");
790 if (str) sd->len_threshold = MAX(0, atoi(str)); 790 if (str) sd->len_threshold = MAX(0, atoi(str));