summaryrefslogtreecommitdiff
path: root/src/lib/edje/edje_embryo.c
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:38:58 +0900
commite88fe439f02a0c297fcedc22431237de721e190c (patch)
tree59f4cd3ff1130d67c5e348a07d354d93bf886c4d /src/lib/edje/edje_embryo.c
parent537f11278f4cc8a462c70b8c971a4cf04993c137 (diff)
Edje embryo: Fix invalid check for get_state_val (text str)
@fix
Diffstat (limited to 'src/lib/edje/edje_embryo.c')
-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);