forked from enlightenment/efl
edje: be more informative when and where a file was not found.
This commit is contained in:
parent
e450a8fec3
commit
89a11c2d77
|
@ -324,7 +324,11 @@ edje_file_data_get(const char *file, const char *key)
|
||||||
if (!key) return NULL;
|
if (!key) return NULL;
|
||||||
|
|
||||||
f = eina_file_open(file, EINA_FALSE);
|
f = eina_file_open(file, EINA_FALSE);
|
||||||
if (!f) return NULL;
|
if (!f)
|
||||||
|
{
|
||||||
|
ERR("File [%s] can not be open.", file);
|
||||||
|
return NULL;
|
||||||
|
}
|
||||||
|
|
||||||
str = edje_mmap_data_get(f, key);
|
str = edje_mmap_data_get(f, key);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue