summaryrefslogtreecommitdiff
path: root/src/generators.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/generators.c')
-rw-r--r--src/generators.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/generators.c b/src/generators.c
index 75c1209..2cea20a 100644
--- a/src/generators.c
+++ b/src/generators.c
@@ -642,7 +642,8 @@ write_html_image (TGallerySetup *setup,
res = TRUE;
/* Get EXIF data from the original image */
- if (get_exif (original_img, &exif))
+ exif = get_exif (original_img);
+ if (exif == NULL)
log_error ("write_html_image: error getting exif data from file \"%s\"\n", orig_dst);
/* Retrieve image sizes of preview and original image */