don't call ecore_file_get_dir() with NULL

SVN revision: 17088
This commit is contained in:
tsauerbeck 2005-09-30 14:10:28 +00:00 committed by tsauerbeck
parent 3a78cdbeb0
commit 032de93a2e
1 changed files with 1 additions and 1 deletions

View File

@ -174,7 +174,7 @@ init_done:
_e_modules = evas_list_append(_e_modules, m);
m->name = strdup(name);
s = ecore_file_get_dir(modpath);
s = modpath ? ecore_file_get_dir(modpath) : NULL;
if (s)
{
m->dir = ecore_file_get_dir(s);