forked from enlightenment/efl
[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:
parent
12981b168e
commit
73cab19a78
|
@ -1,3 +1,7 @@
|
||||||
|
2013-08-27 Jaehyun Cho
|
||||||
|
|
||||||
|
* Fix edje play sample parameter checking.
|
||||||
|
|
||||||
2013-08-27 Tom Hacohen
|
2013-08-27 Tom Hacohen
|
||||||
|
|
||||||
* Evas bidi: Fixed a bug causing BiDi not to work in some cases.
|
* Evas bidi: Fixed a bug causing BiDi not to work in some cases.
|
||||||
|
|
1
NEWS
1
NEWS
|
@ -129,6 +129,7 @@ Additions:
|
||||||
- Add threshold support to Edje draggable part.
|
- Add threshold support to Edje draggable part.
|
||||||
- Reduce load time of Edje_Object using Evas_Object_Textblock and many styles.
|
- Reduce load time of Edje_Object using Evas_Object_Textblock and many styles.
|
||||||
- Add edje_object_mmap_set.
|
- Add edje_object_mmap_set.
|
||||||
|
- Fix play sample parameter checking.
|
||||||
* Eeze:
|
* Eeze:
|
||||||
- Add a dummy libmount replacement for when libmount is not there.
|
- Add a dummy libmount replacement for when libmount is not there.
|
||||||
* Ecore_Con:
|
* Ecore_Con:
|
||||||
|
|
|
@ -900,7 +900,7 @@ _edje_embryo_fn_play_sample(Embryo_Program *ep, Embryo_Cell *params)
|
||||||
char *sample_name = NULL;
|
char *sample_name = NULL;
|
||||||
float speed = 1.0;
|
float speed = 1.0;
|
||||||
|
|
||||||
CHKPARAM(1);
|
CHKPARAM(2);
|
||||||
ed = embryo_program_data_get(ep);
|
ed = embryo_program_data_get(ep);
|
||||||
GETSTR(sample_name, params[1]);
|
GETSTR(sample_name, params[1]);
|
||||||
if ((!sample_name)) return 0;
|
if ((!sample_name)) return 0;
|
||||||
|
|
Loading…
Reference in New Issue