diff options
author | Cedric BAIL <cedric.bail@samsung.com> | 2013-02-20 12:10:18 +0900 |
---|---|---|
committer | Cedric BAIL <cedric.bail@samsung.com> | 2013-02-20 12:15:00 +0900 |
commit | 61287fce389843c8cb1819556da08ec98241ca13 (patch) | |
tree | 4d8efaad171853411af2088407d7e2c053a086db /src | |
parent | 9654db3b16a9339b42008d96c7bad06784f5c7ba (diff) | |
download | efl-61287fce389843c8cb1819556da08ec98241ca13.tar.gz efl-61287fce389843c8cb1819556da08ec98241ca13.tar.xz efl-61287fce389843c8cb1819556da08ec98241ca13.zip |
edje: let's properly report that file doesn't exist.
Diffstat (limited to 'src')
-rw-r--r-- | src/lib/edje/edje_cache.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/lib/edje/edje_cache.c b/src/lib/edje/edje_cache.c index 3f93e5cd7..7e5506fba 100644 --- a/src/lib/edje/edje_cache.c +++ b/src/lib/edje/edje_cache.c @@ -403,7 +403,10 @@ _edje_cache_file_coll_open(const char *file, const char *coll, int *error_ret, E struct stat st; if (stat(file, &st) != 0) - return NULL; + { + *error_ret = EDJE_LOAD_ERROR_DOES_NOT_EXIST; + return NULL; + } if (!_edje_file_hash) { |