forked from enlightenment/efl
elementary: Fix eina_safety return val
The function that this is used in returns Eina_Bool, but the safety check was returning NULL
This commit is contained in:
parent
8a2547aaea
commit
3920247ff6
|
@ -1952,7 +1952,7 @@ elm_image_mmap_set(Evas_Object *obj, const Eina_File *file, const char *group)
|
|||
EAPI Eina_Bool
|
||||
elm_image_memfile_set(Evas_Object *obj, const void *img, size_t size, const char *format, const char *key)
|
||||
{
|
||||
EINA_SAFETY_ON_NULL_RETURN_VAL(img, NULL);
|
||||
EINA_SAFETY_ON_NULL_RETURN_VAL(img, EINA_FALSE);
|
||||
|
||||
Evas_Load_Error err;
|
||||
|
||||
|
|
Loading…
Reference in New Issue