jpeg pushed a commit to branch master.

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

commit e88fe439f02a0c297fcedc22431237de721e190c
Author: Jean-Philippe Andre <jp.an...@samsung.com>
Date:   Wed Apr 29 13:31:10 2015 +0900

    Edje embryo: Fix invalid check for get_state_val (text str)
    
    @fix
---
 src/lib/edje/edje_embryo.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/lib/edje/edje_embryo.c b/src/lib/edje/edje_embryo.c
index 1a4e24d..c4ddf4e 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)
            {
               Edje_Part_Description_Text *text;
 
-              if (rp->part->type == EDJE_PART_TYPE_TEXT
-                  || rp->part->type == EDJE_PART_TYPE_TEXTBLOCK)
+              if ((rp->part->type != EDJE_PART_TYPE_TEXT) &&
+                  (rp->part->type != EDJE_PART_TYPE_TEXTBLOCK))
                 return 0;
 
               CHKPARAM(4);

-- 


Reply via email to