summaryrefslogtreecommitdiff
path: root/src/lib
diff options
context:
space:
mode:
authorJaeun Choi <jaeun12.choi@samsung.com>2019-02-13 16:15:57 +0900
committerJaeun Choi <jaeun12.choi@samsung.com>2019-02-13 19:02:46 +0900
commitce7914c67ec380dc26e1799ec814f32790f398ea (patch)
treed187cb736509813ef6e61030677f1c7b252ec631 /src/lib
parente8fe0c9c92386595da0143793e1554c47c17c660 (diff)
edje: add missing NULL check
Diffstat (limited to '')
-rw-r--r--src/lib/edje/edje_part_text.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/lib/edje/edje_part_text.c b/src/lib/edje/edje_part_text.c
index 9143ef17aa..8f7d936cb6 100644
--- a/src/lib/edje/edje_part_text.c
+++ b/src/lib/edje/edje_part_text.c
@@ -477,6 +477,8 @@ _canvas_layout_user_text_collect(Edje *ed, Edje_User_Defined *eud)
477 Eina_List **props = &eud->u.text_style.props; 477 Eina_List **props = &eud->u.text_style.props;
478 478
479 rp = _edje_real_part_recursive_get(&ed, eud->part); 479 rp = _edje_real_part_recursive_get(&ed, eud->part);
480 if (!rp) return;
481
480 if (eud->u.text_style.types == EDJE_PART_TEXT_PROP_NONE) return; 482 if (eud->u.text_style.types == EDJE_PART_TEXT_PROP_NONE) return;
481 483
482 if (eud->u.text_style.types & EDJE_PART_TEXT_PROP_BACKING_TYPE) 484 if (eud->u.text_style.types & EDJE_PART_TEXT_PROP_BACKING_TYPE)