aboutsummaryrefslogtreecommitdiffstats
path: root/fbi.c
diff options
context:
space:
mode:
authorGerd Hoffmann <kraxel@redhat.com>2017-03-08 10:48:12 +0100
committerGerd Hoffmann <kraxel@redhat.com>2017-03-08 10:48:12 +0100
commitff611dad45be219c36b0ea0f856512eab6eaf82b (patch)
tree85929609b13926898ccdc8afdee400fc86f1784d /fbi.c
parent01d79c588f3046f0532cfb35173e5341e517db89 (diff)
downloadfbida-ff611dad45be219c36b0ea0f856512eab6eaf82b.tar.gz
zap HAVE_NEW_EXIF
Diffstat (limited to 'fbi.c')
-rw-r--r--fbi.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/fbi.c b/fbi.c
index b02c17f..6965ecb 100644
--- a/fbi.c
+++ b/fbi.c
@@ -467,12 +467,8 @@ 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;