From b928208c102a1b45ef82019c6e73b2577592381e Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Thu, 27 Sep 2012 17:15:50 +0200 Subject: Fix lossless rotation if jpegexiforient is unavailable (closes #100) --- src/imlib.c | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'src/imlib.c') diff --git a/src/imlib.c b/src/imlib.c index a2bd4ac..e9f92ad 100644 --- a/src/imlib.c +++ b/src/imlib.c @@ -1198,10 +1198,9 @@ void feh_edit_inplace_lossless(winwidget w, int op) if (!WIFEXITED(status) || WEXITSTATUS(status) != 0) { im_weprintf(w, - "lossless %s: Got exitcode %d from jpegexiforient", - status >> 8); - free(file_str); - return; + "lossless %s: Failed to update EXIF orientation tag:" + " jpegexiforient returned %d", + op_name, status >> 8); } } free(file_str); -- cgit v1.2.3