exif_entry_dump() now displays the correct tag name for GPS tags by taking
authorDan Fandrich <dan@coneharvesters.com>
Thu, 23 Sep 2010 20:56:41 +0000 (13:56 -0700)
committerDan Fandrich <dan@coneharvesters.com>
Thu, 23 Sep 2010 20:56:41 +0000 (13:56 -0700)
the IFD into account when looking up the name. Fixes bug #3073307.

NEWS
libexif/exif-entry.c

diff --git a/NEWS b/NEWS
index eaca94c..b08f21a 100644 (file)
--- a/NEWS
+++ b/NEWS
@@ -4,7 +4,7 @@ libexif-0.6.x:
   * Stop listing -lm as a required library for dynamic linking in libexif.pc
   * Turned on the --enable-silent-rules configure option
   * Changed a lot of strings to make the case of the text more consistent
-
+  * exif_entry_dump() now displays the correct tag name for GPS tags
 
 libexif-0.6.19 (2009-11-12):
   * New translations: be, en_GB, it, ja, pt, sq, zh_CN
index 7d7e06c..553dfee 100644 (file)
@@ -608,7 +608,7 @@ exif_entry_dump (ExifEntry *e, unsigned int indent)
                return;
 
        printf ("%sTag: 0x%x ('%s')\n", buf, e->tag,
-               exif_tag_get_name (e->tag));
+               exif_tag_get_name_in_ifd (e->tag, exif_entry_get_ifd(e)));
        printf ("%s  Format: %i ('%s')\n", buf, e->format,
                exif_format_get_name (e->format));
        printf ("%s  Components: %i\n", buf, (int) e->components);