summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJean-Philippe Andre <jp.andre@samsung.com>2015-04-29 13:31:10 +0900
committerJean-Philippe Andre <jp.andre@samsung.com>2015-04-29 13:40:01 +0900
commita9430f2bd3145199d0e73e48f7f5934d929267c3 (patch)
treecad4f0a3e9ace2a83241fe657738dcf241929725
parent274f0d7cbf12c6a0a7d3b3e8b328a98e575cb4a5 (diff)
Edje embryo: Fix invalid check for get_state_val (text str)
@fix
-rw-r--r--src/lib/edje/edje_embryo.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/edje/edje_embryo.c b/src/lib/edje/edje_embryo.c
index 1a4e24d6a9..c4ddf4e372 100644
--- a/src/lib/edje/edje_embryo.c
+++ b/src/lib/edje/edje_embryo.c
@@ -2784,8 +2784,8 @@ _edje_embryo_fn_get_state_val(Embryo_Program *ep, Embryo_Cell *params)
2784 { 2784 {
2785 Edje_Part_Description_Text *text; 2785 Edje_Part_Description_Text *text;
2786 2786
2787 if (rp->part->type == EDJE_PART_TYPE_TEXT 2787 if ((rp->part->type != EDJE_PART_TYPE_TEXT) &&
2788 || rp->part->type == EDJE_PART_TYPE_TEXTBLOCK) 2788 (rp->part->type != EDJE_PART_TYPE_TEXTBLOCK))
2789 return 0; 2789 return 0;
2790 2790
2791 CHKPARAM(4); 2791 CHKPARAM(4);