summaryrefslogtreecommitdiff
path: root/src/lib/edje
diff options
context:
space:
mode:
authorMykyta Biliavskyi <m.biliavskyi@samsung.com>2016-12-22 11:18:19 +0200
committerMykyta Biliavskyi <m.biliavskyi@samsung.com>2016-12-22 11:40:57 +0200
commit82b80212c6983ae154a79bc1318cf553249871c8 (patch)
tree8f126cc9808d22b7ad693f7b6bdd00b28a0855b3 /src/lib/edje
parent3425ad2abda77ef708600d19b3cf6a711b15902b (diff)
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.
Diffstat (limited to 'src/lib/edje')
-rw-r--r--src/lib/edje/edje_edit.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/edje/edje_edit.c b/src/lib/edje/edje_edit.c
index 291b5afaf0..2be9842afe 100644
--- a/src/lib/edje/edje_edit.c
+++ b/src/lib/edje/edje_edit.c
@@ -1587,7 +1587,7 @@ edje_edit_sound_samplebuffer_get(Evas_Object *obj, const char *sample_name)
1587 if (!ef) 1587 if (!ef)
1588 return NULL; 1588 return NULL;
1589 snprintf(snd_id_str, sizeof(snd_id_str), "edje/sounds/%i", sample->id); 1589 snprintf(snd_id_str, sizeof(snd_id_str), "edje/sounds/%i", sample->id);
1590 data = eet_read_direct(ef, snd_id_str, &len); 1590 data = eet_read(ef, snd_id_str, &len);
1591 if (len <= 0) 1591 if (len <= 0)
1592 { 1592 {
1593 ERR("Sample from edj file '%s' has 0 length", ed->path); 1593 ERR("Sample from edj file '%s' has 0 length", ed->path);