forked from enlightenment/efl
Changed evas_add_image_from_file() to return NULL if the file could not be
loaded or did not exist SVN revision: 3890
This commit is contained in:
parent
92c4c2732d
commit
f7a6c88618
|
@ -65,6 +65,8 @@ evas_add_image_from_file(Evas e, char *file)
|
||||||
oo->current.image.w = imlib_image_get_width();
|
oo->current.image.w = imlib_image_get_width();
|
||||||
oo->current.image.h = imlib_image_get_height();
|
oo->current.image.h = imlib_image_get_height();
|
||||||
imlib_free_image();
|
imlib_free_image();
|
||||||
|
} else if(!im){
|
||||||
|
return NULL;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue