do not return nothing on errors

This commit is contained in:
Julien Danjou 2008-01-23 15:56:40 +01:00
parent e7a6de84ad
commit f17bf8b334
1 changed files with 0 additions and 3 deletions

3
draw.c
View File

@ -298,10 +298,7 @@ draw_get_image_size(const char *filename)
surface = cairo_image_surface_create_from_png(filename);
if((cairo_st = cairo_surface_status(surface)))
{
warn("failed to get image size %s: %s\n", filename, cairo_status_to_string(cairo_st));
return;
}
else
{
cairo_image_surface_get_width(surface);