aboutsummaryrefslogtreecommitdiffstats
path: root/fbi.c
diff options
context:
space:
mode:
authorkraxel <kraxel>2004-06-30 13:41:54 +0000
committerkraxel <kraxel>2004-06-30 13:41:54 +0000
commit29df0ee01fdaa94eebf4a04b76be610f1df7b9d3 (patch)
tree7f42bb3e19eb89c83c4123aa095c21ea7c87093b /fbi.c
parentb6a435badc8d2cd793a7605e43d2787841b2bf75 (diff)
downloadfbida-29df0ee01fdaa94eebf4a04b76be610f1df7b9d3.tar.gz
- fixups for new libexif.
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;