summaryrefslogtreecommitdiff
path: root/src/thumbnail.c
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2021-01-09 10:51:13 +0100
committerDaniel Friesel <derf@finalrewind.org>2021-01-09 10:51:13 +0100
commita94e98fb4bfdaa3e1d0939b1b093b3097629f61d (patch)
tree6b395c8837a3592784d11788f99fe583958dd0ad /src/thumbnail.c
parentc844bd8aa6216026ad0e6beb1cfe9545eeba4cd7 (diff)
distinguish between "missing magic bytes" and "no Imlib 2 loader" errors
Diffstat (limited to 'src/thumbnail.c')
-rw-r--r--src/thumbnail.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/thumbnail.c b/src/thumbnail.c
index 41bd1a0..e7b05a8 100644
--- a/src/thumbnail.c
+++ b/src/thumbnail.c
@@ -392,7 +392,7 @@ void init_thumbnail_mode(void)
}
gib_imlib_save_image_with_error_return(td.im_main, output_buf, &err);
if (err) {
- feh_imlib_print_load_error(output_buf, td.im_main, err);
+ feh_print_load_error(output_buf, td.im_main, err, LOAD_ERROR_IMLIB);
}
else if (opt.verbose) {
int tw, th;