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

Gilles Caulier caulier.gilles at gmail.com
Sat Sep 1 11:51:17 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         
caulier.gilles gmail com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |FIXED



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

libkexiv2 from trunk (KDE4) : fix IPTC strings creation with non-zero value at end
BUG: 148182


 M  +3 -3      kexiv2.cpp  


--- trunk/extragear/libs/libkexiv2/libkexiv2/kexiv2.cpp #707246:707247
 @ -2565,7 +2565,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.toLatin1().constData());
             iptcData.add(iptcTag, val.get());        
         }
 @ -2648,7 +2648,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.toLatin1().constData());
             iptcData.add(iptcTag, val.get());        
         }
 @ -2732,7 +2732,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.toLatin1().constData());
             iptcData.add(iptcTag, val.get());        
         }



More information about the Digikam-devel mailing list