[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:01 UTC 2017
Gitweb-URL: http://git.debian.org/?p=pkg-kde/kde-extras/exiv2.git;a=commitdiff;h=c8b0d72
The following commit has been merged in the master branch:
commit c8b0d7278be94010583e03e6fe6ef3ef4cbd1064
Author: Andreas Huggel <ahuggel at gmx.net>
Date: Mon Oct 25 13:24:51 2010 +0000
#738: Applied patch from Michael Ulbrich.
---
src/psdimage.cpp | 14 +++++++-------
1 file changed, 7 insertions(+), 7 deletions(-)
diff --git a/src/psdimage.cpp b/src/psdimage.cpp
index bb26164..d9aa486 100644
--- a/src/psdimage.cpp
+++ b/src/psdimage.cpp
@@ -419,24 +419,24 @@ namespace Exiv2 {
uint32_t curOffset = io_->tell();
// Write IPTC_NAA resource block
- if ( resourceId == kPhotoshopResourceID_IPTC_NAA
- || (resourceId > kPhotoshopResourceID_IPTC_NAA && iptcDone == false)) {
+ if ((resourceId == kPhotoshopResourceID_IPTC_NAA ||
+ resourceId > kPhotoshopResourceID_IPTC_NAA) && iptcDone == false) {
newResLength += writeIptcData(iptcData_, outIo);
resourceSize = (resourceSize + 1) & ~1; // adjust for padding
iptcDone = true;
}
// Write ExifInfo resource block
- else if ( resourceId == kPhotoshopResourceID_ExifInfo
- || (resourceId > kPhotoshopResourceID_ExifInfo && exifDone == false)) {
+ else if ((resourceId == kPhotoshopResourceID_ExifInfo ||
+ resourceId > kPhotoshopResourceID_ExifInfo) && exifDone == false) {
newResLength += writeExifData(exifData_, outIo);
resourceSize = (resourceSize + 1) & ~1; // adjust for padding
exifDone = true;
}
// Write XMPpacket resource block
- else if ( resourceId == kPhotoshopResourceID_XMPPacket
- || (resourceId > kPhotoshopResourceID_XMPPacket && xmpDone == false)) {
+ else if ((resourceId == kPhotoshopResourceID_XMPPacket ||
+ resourceId > kPhotoshopResourceID_XMPPacket) && xmpDone == false) {
newResLength += writeXmpData(xmpData_, outIo);
resourceSize = (resourceSize + 1) & ~1; // adjust for padding
xmpDone = true;
@@ -456,7 +456,7 @@ namespace Exiv2 {
us2Data(buf, resourceId, bigEndian);
if (outIo.write(buf, 2) != 2) throw Error(21);
// Write resource name as Pascal string
- buf[0] = resourceNameLength & 0x000f;
+ buf[0] = resourceNameLength & 0x00ff;
if (outIo.write(buf, 1) != 1) throw Error(21);
buf[0] = resourceNameFirstChar;
if (outIo.write(buf, 1) != 1) throw Error(21);
--
exiv2 packaging
More information about the pkg-kde-commits
mailing list