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:
Joshua Deere 2000-11-15 21:31:14 +00:00
parent 92c4c2732d
commit f7a6c88618
1 changed files with 3 additions and 1 deletions

View File

@ -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;