forked from enlightenment/enlightenment
Make sure we have a 'file' to set, else we crash trying to get strlen
of NULL. SVN revision: 56059
This commit is contained in:
parent
baa156f189
commit
bd2aa1b03d
|
@ -62,6 +62,7 @@ e_icon_file_set(Evas_Object *obj, const char *file)
|
|||
E_Smart_Data *sd;
|
||||
int len;
|
||||
|
||||
if (!file) return;
|
||||
if (!(sd = evas_object_smart_data_get(obj)))
|
||||
return EINA_FALSE;
|
||||
|
||||
|
|
Loading…
Reference in New Issue