Commit c4b62b64 authored by Michael J. Chudobiak's avatar Michael J. Chudobiak Committed by Michael J. Chudobiak
Browse files

Fixed improper check for empty iptc dataset.

2008-02-05  Michael J. Chudobiak  <mjc@svn.gnome.org>

        * libgthumb/gth-exiv2-utils.cpp:
        Fixed improper check for empty iptc dataset.


svn path=/trunk/; revision=2254
parent 50f5a378
2008-02-05 Michael J. Chudobiak <mjc@svn.gnome.org>
* libgthumb/gth-exiv2-utils.cpp:
Fixed improper check for empty iptc dataset.
2008-02-05 Michael J. Chudobiak <mjc@svn.gnome.org>
* libgthumb/comments.h:
......
......@@ -413,7 +413,7 @@ read_exiv2_file (const char *uri, GList *metadata)
Exiv2::IptcData &iptcData = image->iptcData();
//abort if no data found
if (!exifData.empty()) {
if (!iptcData.empty()) {
//add iptc-metadata to glist
GthMetadata *new_entry;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment