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,7 +65,9 @@ evas_add_image_from_file(Evas e, char *file)
|
|||
oo->current.image.w = imlib_image_get_width();
|
||||
oo->current.image.h = imlib_image_get_height();
|
||||
imlib_free_image();
|
||||
}
|
||||
} else if(!im){
|
||||
return NULL;
|
||||
}
|
||||
}
|
||||
}
|
||||
oo->current.fill.x = 0;
|
||||
|
|
Loading…
Reference in New Issue