2004-11-17 Lutz Mueller <lutz@users.sourceforge.net>
authorLutz Mueller <lutz.s.mueller@gmail.com>
Tue, 16 Nov 2004 23:52:19 +0000 (00:52 +0100)
committerLutz Mueller <lutz.s.mueller@gmail.com>
Tue, 16 Nov 2004 23:52:19 +0000 (00:52 +0100)
* libexif/exif-data.c: Make the last commit actually work.

ChangeLog
libexif/exif-data.c

index a05a881..d0d6d70 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2004-11-17  Lutz Mueller <lutz@users.sourceforge.net>
+
+       * libexif/exif-data.c: Make the last commit actually work.
+
 2004-11-15  Lutz Mueller <lutz@users.sourceforge.net>
 
        * libexif/exif-content.c: Complain if the same tag is added twice
index cd49f04..dc55cbc 100644 (file)
@@ -355,9 +355,9 @@ exif_data_load_data_content (ExifData *data, ExifContent *ifd,
                                return;
                        }
                        entry = exif_entry_new_mem (data->priv->mem);
-                       exif_content_add_entry (ifd, entry);
                        exif_data_load_data_entry (data, entry, d, ds,
                                                   offset + 12 * i);
+                       exif_content_add_entry (ifd, entry);
                        exif_entry_unref (entry);
                        break;
                }