summaryrefslogtreecommitdiff
path: root/src/index.c
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2012-09-12 20:46:15 +0200
committerDaniel Friesel <derf@finalrewind.org>2012-09-12 20:46:15 +0200
commit290b5964ef857ea52d85edf846edd82392d9a716 (patch)
tree5ca891ffe5e2978d977207ca2f8bf977d39f2f44 /src/index.c
parent3e4d9f98c3c154b9c9aa6082b3d498e59dcb1e2e (diff)
print imlib2 error strings when save failed
Diffstat (limited to 'src/index.c')
-rw-r--r--src/index.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/index.c b/src/index.c
index e5a93a4..5d4ed39 100644
--- a/src/index.c
+++ b/src/index.c
@@ -329,7 +329,7 @@ void init_index_mode(void)
ungib_imlib_save_image_with_error_return(im_main, output_buf, &err);
if (err) {
- weprintf("Cannot save image to %s", output_buf);
+ feh_imlib_print_load_error(output_buf, im_main, err);
}
else if (opt.verbose) {
int tw, th;