forked from enlightenment/efl
Check whether functions exist before executing them.
SVN revision: 39521
This commit is contained in:
parent
a11beb0a96
commit
8d40d92f83
|
@ -77,7 +77,7 @@ evas_common_load_rgba_image_module_from_file(Image_Entry *ie)
|
||||||
if (!evas_module_load(em)) continue;
|
if (!evas_module_load(em)) continue;
|
||||||
evas_image_load_func = em->functions;
|
evas_image_load_func = em->functions;
|
||||||
evas_module_use(em);
|
evas_module_use(em);
|
||||||
if (evas_image_load_func->file_head(ie, ie->file, ie->key))
|
if (evas_image_load_func && evas_image_load_func->file_head(ie, ie->file, ie->key))
|
||||||
{
|
{
|
||||||
if (evas_modules != l)
|
if (evas_modules != l)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue