oops - minor logic hiccup - fixed.. also imlib2 fix for its load error
checking. missed this when adding db style (key in file) loading. SVN revision: 4239
This commit is contained in:
parent
ed56013f72
commit
70013f2719
|
@ -60,7 +60,7 @@ evas_add_image_from_file(Evas e, char *file)
|
|||
{
|
||||
Imlib_Image im;
|
||||
|
||||
im = imlib_load_image_with_error_return(file, &oo->load_error);
|
||||
im = imlib_load_image_with_error_return(file, &(oo->load_error));
|
||||
if (im)
|
||||
{
|
||||
imlib_context_set_image(im);
|
||||
|
@ -159,7 +159,7 @@ evas_set_image_file(Evas e, Evas_Object o, char *file)
|
|||
o->changed = 1;
|
||||
e->changed = 1;
|
||||
}
|
||||
else
|
||||
else if (!file)
|
||||
{
|
||||
if (oo->current.file)
|
||||
free(oo->current.file);
|
||||
|
|
Loading…
Reference in New Issue