diff --git a/ChangeLog b/ChangeLog index f27fc70ecf..654dbdd1b4 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2013-08-27 Jaehyun Cho + + * Fix edje play sample parameter checking. + 2013-08-27 Tom Hacohen * Evas bidi: Fixed a bug causing BiDi not to work in some cases. diff --git a/NEWS b/NEWS index e4fa3d0f39..8a15496d01 100644 --- a/NEWS +++ b/NEWS @@ -129,6 +129,7 @@ Additions: - Add threshold support to Edje draggable part. - Reduce load time of Edje_Object using Evas_Object_Textblock and many styles. - Add edje_object_mmap_set. + - Fix play sample parameter checking. * Eeze: - Add a dummy libmount replacement for when libmount is not there. * Ecore_Con: 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) char *sample_name = NULL; float speed = 1.0; - CHKPARAM(1); + CHKPARAM(2); ed = embryo_program_data_get(ep); GETSTR(sample_name, params[1]); if ((!sample_name)) return 0;