[edje_embryo] Fix play_sample's parameter count check

play_sample function requires 2 parameters however it checks parameter count as 1.
This commit is contained in:
Jaehyun Cho 2013-08-28 07:40:12 +09:00 committed by Daniel Juyung Seo
parent 12981b168e
commit 73cab19a78
3 changed files with 6 additions and 1 deletions

View File

@ -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.

1
NEWS
View File

@ -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:

View File

@ -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;