dont segv if theres no file

SVN revision: 43958
This commit is contained in:
Iván Briano 2009-11-24 21:08:52 +00:00
parent 9892926bdf
commit 521c89df41
1 changed files with 1 additions and 1 deletions

View File

@ -307,7 +307,7 @@ _edje_object_file_set_internal(Evas_Object *obj, const char *file, const char *g
ed->load_error = EDJE_LOAD_ERROR_NONE;
_edje_file_add(ed);
if (ed->file->external_dir)
if (ed->file && ed->file->external_dir)
{
const Edje_External_Directory_Entry *ext;
const Eina_List *n;