aboutsummaryrefslogtreecommitdiffstats
path: root/thumbs.c
diff options
context:
space:
mode:
Diffstat (limited to 'thumbs.c')
-rw-r--r--thumbs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/thumbs.c b/thumbs.c
index c74d846..40cd6bd 100644
--- a/thumbs.c
+++ b/thumbs.c
@@ -312,7 +312,7 @@ bool tns_load(tns_t *tns, int n, bool force, bool cache_only)
}
if (w >= maxwh || h >= maxwh) {
if ((im = imlib_create_cropped_image(x, y, w, h)) == NULL)
- error(EXIT_FAILURE, ENOMEM, NULL);
+ error(0, 0, "%s: error generating thumbnail", file->name);
}
imlib_free_image_and_decache();
}