forked from enlightenment/efl
Edje_Edit: replace eet_read_direct by eet_read function.
eet_read_direct function doesn't works with ciphered data, but it is possible that edje file was ciphered. In this case data, that returned by eet_read_direct always will be NULL.
This commit is contained in:
parent
3425ad2abd
commit
82b80212c6
|
@ -1587,7 +1587,7 @@ edje_edit_sound_samplebuffer_get(Evas_Object *obj, const char *sample_name)
|
|||
if (!ef)
|
||||
return NULL;
|
||||
snprintf(snd_id_str, sizeof(snd_id_str), "edje/sounds/%i", sample->id);
|
||||
data = eet_read_direct(ef, snd_id_str, &len);
|
||||
data = eet_read(ef, snd_id_str, &len);
|
||||
if (len <= 0)
|
||||
{
|
||||
ERR("Sample from edj file '%s' has 0 length", ed->path);
|
||||
|
|
Loading…
Reference in New Issue