aboutsummaryrefslogtreecommitdiffstats
path: root/fbi.c
diff options
context:
space:
mode:
Diffstat (limited to 'fbi.c')
-rw-r--r--fbi.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/fbi.c b/fbi.c
index f666994..fad7b77 100644
--- a/fbi.c
+++ b/fbi.c
@@ -432,7 +432,12 @@ static void show_exif(struct flist *f)
continue;
}
title[tag] = exif_tag_get_title(tags[tag]);
+#ifdef HAVE_NEW_EXIF
+ value[tag] = malloc(128);
+ exif_entry_get_value(ee, value[tag], 128);
+#else
value[tag] = strdup(exif_entry_get_value(ee));
+#endif
len = strlen(title[tag]);
if (l1 < len)
l1 = len;