made edje_file_collection_list() check its argument before trying to do anything with it

SVN revision: 14923
This commit is contained in:
tsauerbeck 2005-05-23 17:48:53 +00:00 committed by tsauerbeck
parent bd62aadc6e
commit cfd247aac1
1 changed files with 2 additions and 0 deletions

View File

@ -360,6 +360,8 @@ edje_file_collection_list(const char *file)
Evas_List *lst = NULL;
Edje_File *ed_file;
if (!file || !*file) return NULL;
ed_file = evas_hash_find(_edje_file_hash, file);
if (!ed_file) ed_file = _edje_file_cache_find((char *)file);
if (!ed_file)