forked from enlightenment/enlightenment
don't call ecore_file_get_dir() with NULL
SVN revision: 17088
This commit is contained in:
parent
3a78cdbeb0
commit
032de93a2e
|
@ -174,7 +174,7 @@ init_done:
|
||||||
|
|
||||||
_e_modules = evas_list_append(_e_modules, m);
|
_e_modules = evas_list_append(_e_modules, m);
|
||||||
m->name = strdup(name);
|
m->name = strdup(name);
|
||||||
s = ecore_file_get_dir(modpath);
|
s = modpath ? ecore_file_get_dir(modpath) : NULL;
|
||||||
if (s)
|
if (s)
|
||||||
{
|
{
|
||||||
m->dir = ecore_file_get_dir(s);
|
m->dir = ecore_file_get_dir(s);
|
||||||
|
|
Loading…
Reference in New Issue