[SCM] exiv2 packaging branch, master, updated. debian/0.25-3.1-3734-gdcbc29a

Maximiliano Curia maxy at moszumanska.debian.org
Thu Jul 13 17:42:48 UTC 2017


Gitweb-URL: http://git.debian.org/?p=pkg-kde/kde-extras/exiv2.git;a=commitdiff;h=2a821a5

The following commit has been merged in the master branch:
commit 2a821a52ae45ad2a9935843b940ba64dbeec8a9f
Author: Andreas Huggel <ahuggel at gmx.net>
Date:   Mon Oct 10 15:11:10 2011 +0000

    #793: Set PNG comment correctly. (Thomas Beutlich)
---
 src/pngchunk.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/pngchunk.cpp b/src/pngchunk.cpp
index 561dc1a..929b974 100644
--- a/src/pngchunk.cpp
+++ b/src/pngchunk.cpp
@@ -400,7 +400,7 @@ namespace Exiv2 {
             && memcmp("Description", key, 11) == 0
             && pImage->comment().empty())
         {
-            pImage->comment().assign(reinterpret_cast<char*>(arr.pData_), arr.size_);
+            pImage->setComment(std::string(reinterpret_cast<char*>(arr.pData_), arr.size_));
         }
 
     } // PngChunk::parseChunkContent

-- 
exiv2 packaging



More information about the pkg-kde-commits mailing list