summaryrefslogtreecommitdiff
path: root/src/exif.c
diff options
context:
space:
mode:
authorDennis Real <github@tildepipe.org>2012-03-22 19:00:30 +0100
committerDennis Real <github@tildepipe.org>2012-03-22 19:00:30 +0100
commitcc6de20061eaa7172aa0184e03df947da14d713e (patch)
treeea403df2e477d2e4e05efbf15e8df76380b6ac75 /src/exif.c
parente401bd9c78a82b8290ec524e56b7c832631725e6 (diff)
Nikon makernote parts changed
Diffstat (limited to 'src/exif.c')
-rw-r--r--src/exif.c11
1 files changed, 10 insertions, 1 deletions
diff --git a/src/exif.c b/src/exif.c
index 91e1735..ed18eb5 100644
--- a/src/exif.c
+++ b/src/exif.c
@@ -279,7 +279,16 @@ void exif_get_info(ExifData * ed, char *buffer, unsigned int maxsize)
)
{
/* this is a nikon camera */
- exn_get_mnote_nikon_tags(ed, buffer + strlen(buffer), maxsize - strlen(buffer));
+
+ /* show nikon makernote exif tags. list must be defined in exif_cfg.h */
+ i=0;
+ while ( (Exif_makernote_nikon_tag_list[i] != EXIF_NIKON_MAKERNOTE_END) && (i < USHRT_MAX) )
+ {
+ exn_get_mnote_nikon_tags(ed, Exif_makernote_nikon_tag_list[i],
+ buffer + strlen(buffer), maxsize - strlen(buffer));
+ i++;
+ }
+
}
}