forked from enlightenment/efl
edje: Unb0rk Embryo set_state()
De Morgan is your friend. SVN revision: 73426
This commit is contained in:
parent
7ee848bc33
commit
d0b849a8ce
|
@ -871,7 +871,8 @@ _edje_embryo_fn_set_state(Embryo_Program *ep, Embryo_Cell *params)
|
||||||
double value = 0.0;
|
double value = 0.0;
|
||||||
Edje_Real_Part *rp;
|
Edje_Real_Part *rp;
|
||||||
|
|
||||||
if (!HASNPARAMS(2) || !HASNPARAMS(3)) return -1;
|
if (!(HASNPARAMS(2) || HASNPARAMS(3))) return -1;
|
||||||
|
|
||||||
ed = embryo_program_data_get(ep);
|
ed = embryo_program_data_get(ep);
|
||||||
GETSTR(state, params[2]);
|
GETSTR(state, params[2]);
|
||||||
if ((!state)) return 0;
|
if ((!state)) return 0;
|
||||||
|
|
Loading…
Reference in New Issue