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

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


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

The following commit has been merged in the master branch:
commit 7ac86ccc69645c96d238b78d5dbc355126621263
Author: Andreas Huggel <ahuggel at gmx.net>
Date:   Sat Jan 26 14:23:12 2008 +0000

    Fixed subtle bug when printing with an XMP print function.
---
 src/properties.cpp | 9 ++++-----
 1 file changed, 4 insertions(+), 5 deletions(-)

diff --git a/src/properties.cpp b/src/properties.cpp
index a215b8a..bc828ed 100644
--- a/src/properties.cpp
+++ b/src/properties.cpp
@@ -1003,12 +1003,11 @@ namespace Exiv2 {
                                                const std::string& key,
                                                const Value& value)
     {
-        if (value.count() == 0) return os;
-
         PrintFct fct = printValue;
-        const XmpPrintInfo* info = find(xmpPrintInfo, key);
-        if (info) fct = info->printFct_;
-
+        if (value.count() != 0) {
+            const XmpPrintInfo* info = find(xmpPrintInfo, key);
+            if (info) fct = info->printFct_;
+        }
         return fct(os, value);
     }
 

-- 
exiv2 packaging



More information about the pkg-kde-commits mailing list