forked from enlightenment/efl
evas: make sure that we initialize module correctly in all case.
This commit is contained in:
parent
b6eb284c68
commit
ccc1552380
|
@ -526,7 +526,7 @@ evas_module_find_type(Evas_Module_Type type, const char *name)
|
||||||
em = eina_hash_find(evas_modules[type], name);
|
em = eina_hash_find(evas_modules[type], name);
|
||||||
if (em)
|
if (em)
|
||||||
{
|
{
|
||||||
return em;
|
if (evas_module_load(em)) return em;
|
||||||
}
|
}
|
||||||
|
|
||||||
eina_module_free(en);
|
eina_module_free(en);
|
||||||
|
|
Loading…
Reference in New Issue