edje: be more informative when and where a file was not found.

This commit is contained in:
Cedric Bail 2014-01-05 10:58:08 +09:00
parent e450a8fec3
commit 89a11c2d77
1 changed files with 5 additions and 1 deletions

View File

@ -324,7 +324,11 @@ edje_file_data_get(const char *file, const char *key)
if (!key) return NULL;
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);