projects
/
profile
/
ivi
/
edje.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bd715f5
)
edje: Unb0rk Embryo set_state()
author
acidx
<acidx>
Fri, 6 Jul 2012 19:38:35 +0000
(19:38 +0000)
committer
acidx
<acidx@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Fri, 6 Jul 2012 19:38:35 +0000
(19:38 +0000)
De Morgan is your friend.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/edje@73426
7cbeb6ba
-43b4-40fd-8cce-
4c39aea84d33
src/lib/edje_embryo.c
patch
|
blob
|
history
diff --git
a/src/lib/edje_embryo.c
b/src/lib/edje_embryo.c
index
c390d5e
..
ffcbc64
100644
(file)
--- a/
src/lib/edje_embryo.c
+++ b/
src/lib/edje_embryo.c
@@
-871,7
+871,8
@@
_edje_embryo_fn_set_state(Embryo_Program *ep, Embryo_Cell *params)
double value = 0.0;
Edje_Real_Part *rp;
- if (!HASNPARAMS(2) || !HASNPARAMS(3)) return -1;
+ if (!(HASNPARAMS(2) || HASNPARAMS(3))) return -1;
+
ed = embryo_program_data_get(ep);
GETSTR(state, params[2]);
if ((!state)) return 0;