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:
parent
28371f7d55
commit
5e3b693a11
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user