image: don't print redundant error

This error is printed by load_image() now

Reviewed-by: Pekka Paalanen <pekka.paalanen@collabora.co.uk>
This commit is contained in:
Bill Spitzak 2014-08-19 18:13:11 -07:00 committed by Pekka Paalanen
parent 28371f7d55
commit 5e3b693a11

View File

@ -373,7 +373,6 @@ image_create(struct display *display, const char *filename,
image->image = load_cairo_surface(filename); image->image = load_cairo_surface(filename);
if (!image->image) { if (!image->image) {
fprintf(stderr, "could not find the image %s!\n", b);
free(image->filename); free(image->filename);
free(image); free(image);
return NULL; return NULL;