[Digikam-devel] [Bug 148182] Iptc.Application2.Keywords appends always the 0-byte

Gilles Caulier caulier.gilles at gmail.com
Sat Sep 1 11:46:38 BST 2007


------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
         
http://bugs.kde.org/show_bug.cgi?id=148182         




------- Additional Comments From caulier.gilles gmail com  2007-09-01 12:46 -------
SVN commit 707242 by cgilles:

libkexiv2 from KDE3 branch : fix IPTC strings creation with non-zero value at end
CCBUGS: 148182


 M  +3 -3      kexiv2.cpp  


--- branches/extragear/kde3/libs/libkexiv2/libkexiv2/kexiv2.cpp #707241:707242
 @ -2042,7 +2042,7  @
             QString key = *it;
             key.truncate(64);
             
-            Exiv2::Value::AutoPtr val = Exiv2::Value::create(Exiv2::asciiString);
+            Exiv2::Value::AutoPtr val = Exiv2::Value::create(Exiv2::string);
             val->read(key.latin1());
             iptcData.add(iptcTag, val.get());        
         }
 @ -2125,7 +2125,7  @
             QString key = *it;
             key.truncate(236);
             
-            Exiv2::Value::AutoPtr val = Exiv2::Value::create(Exiv2::asciiString);
+            Exiv2::Value::AutoPtr val = Exiv2::Value::create(Exiv2::string);
             val->read(key.latin1());
             iptcData.add(iptcTag, val.get());        
         }
 @ -2209,7 +2209,7  @
             QString key = *it;
             key.truncate(32);
             
-            Exiv2::Value::AutoPtr val = Exiv2::Value::create(Exiv2::asciiString);
+            Exiv2::Value::AutoPtr val = Exiv2::Value::create(Exiv2::string);
             val->read(key.latin1());
             iptcData.add(iptcTag, val.get());        
         }



More information about the Digikam-devel mailing list