diff options
author | Cedric Bail <cedric@osg.samsung.com> | 2016-11-29 12:06:45 -0800 |
---|---|---|
committer | Cedric Bail <cedric@osg.samsung.com> | 2016-11-29 12:06:45 -0800 |
commit | ccc15523804eef39dd2baf1aab095564ca2064b4 (patch) | |
tree | 7411fa5de5c1639c6be9e86b6ea31b5c95f7eee0 /src/lib/evas/file/evas_module.c | |
parent | b6eb284c68df888eb5b5f738a7a4aed88119efb4 (diff) |
evas: make sure that we initialize module correctly in all case.
Diffstat (limited to 'src/lib/evas/file/evas_module.c')
-rw-r--r-- | src/lib/evas/file/evas_module.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/evas/file/evas_module.c b/src/lib/evas/file/evas_module.c index 6752620daf..a7d46c2933 100644 --- a/src/lib/evas/file/evas_module.c +++ b/src/lib/evas/file/evas_module.c @@ -526,7 +526,7 @@ evas_module_find_type(Evas_Module_Type type, const char *name) em = eina_hash_find(evas_modules[type], name); if (em) { - return em; + if (evas_module_load(em)) return em; } eina_module_free(en); |