summaryrefslogtreecommitdiff
path: root/src/lib/edje/edje_embryo.c
diff options
context:
space:
mode:
authorAndrii Kroitor <an.kroitor@samsung.com>2015-09-23 12:33:49 -0700
committerCedric BAIL <cedric@osg.samsung.com>2015-09-23 12:34:22 -0700
commitd595149178f8d81a9c24883541b09a912e3c15a8 (patch)
tree5f57347ccac287117145249ff3330396565b0745 /src/lib/edje/edje_embryo.c
parentc0d82ba900fb57dee2db74ba867aa47b7ecf26dc (diff)
edje: fix internal colorclass field
Summary: Its value is never modified directly and should not be modifiled by mistake in future. @fix Reviewers: Hermet, raster, reutskiy.v.v, cedric Reviewed By: cedric Subscribers: cedric Differential Revision: https://phab.enlightenment.org/D3104 Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
Diffstat (limited to 'src/lib/edje/edje_embryo.c')
-rw-r--r--src/lib/edje/edje_embryo.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/edje/edje_embryo.c b/src/lib/edje/edje_embryo.c
index b272594489..25956031c4 100644
--- a/src/lib/edje/edje_embryo.c
+++ b/src/lib/edje/edje_embryo.c
@@ -2819,7 +2819,7 @@ _edje_embryo_fn_get_state_val(Embryo_Program *ep, Embryo_Cell *params)
2819{ 2819{
2820 Edje *ed = embryo_program_data_get(ep); 2820 Edje *ed = embryo_program_data_get(ep);
2821 Edje_Real_Part *rp; 2821 Edje_Real_Part *rp;
2822 char *s; 2822 const char *s;
2823 2823
2824 /* we need at least 3 arguments */ 2824 /* we need at least 3 arguments */
2825 if (params[0] < (int)(sizeof(Embryo_Cell) * 3)) 2825 if (params[0] < (int)(sizeof(Embryo_Cell) * 3))