summaryrefslogtreecommitdiff
path: root/src/lib/edje/edje_embryo.c
diff options
context:
space:
mode:
authorJaehyun Cho <jae_hyun.cho@samsung.com>2013-08-28 07:40:12 +0900
committerDaniel Juyung Seo <seojuyung@gmail.com>2013-08-28 07:53:57 +0900
commit73cab19a7861c62544f37d9e81d7f03551559732 (patch)
tree1475120ace20e444929843b360aa2a996e3e1bf7 /src/lib/edje/edje_embryo.c
parent12981b168e9fc094cc47bdd8c5eebfc5bbdc4001 (diff)
[edje_embryo] Fix play_sample's parameter count check
play_sample function requires 2 parameters however it checks parameter count as 1.
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 5a7b6e2371..b9686af0cc 100644
--- a/src/lib/edje/edje_embryo.c
+++ b/src/lib/edje/edje_embryo.c
@@ -900,7 +900,7 @@ _edje_embryo_fn_play_sample(Embryo_Program *ep, Embryo_Cell *params)
900 char *sample_name = NULL; 900 char *sample_name = NULL;
901 float speed = 1.0; 901 float speed = 1.0;
902 902
903 CHKPARAM(1); 903 CHKPARAM(2);
904 ed = embryo_program_data_get(ep); 904 ed = embryo_program_data_get(ep);
905 GETSTR(sample_name, params[1]); 905 GETSTR(sample_name, params[1]);
906 if ((!sample_name)) return 0; 906 if ((!sample_name)) return 0;