"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "libs/psd/psd_additional_layer_info_block.cpp" between
krita-5.1.3.tar.xz and krita-5.1.4.tar.xz

About: Krita is a painting program offering art tools for everyone (concept art, texture and matte painters, illustrations and comics).

psd_additional_layer_info_block.cpp  (krita-5.1.3.tar.xz):psd_additional_layer_info_block.cpp  (krita-5.1.4.tar.xz)
skipping to change at line 114 skipping to change at line 114
if (m_header.tiffStyleLayerBlock) { if (m_header.tiffStyleLayerBlock) {
if (blockSize % 4U) { if (blockSize % 4U) {
dbgFile << "(TIFF) WARNING: current block size is NOT a multiple of 4! Fixing..."; dbgFile << "(TIFF) WARNING: current block size is NOT a multiple of 4! Fixing...";
blockSize += (4U - blockSize % 4U); blockSize += (4U - blockSize % 4U);
} }
} }
dbgFile << "info block size" << blockSize << "(" << io.pos() << ")"; dbgFile << "info block size" << blockSize << "(" << io.pos() << ")";
if (blockSize == 0) if (blockSize == 0)
return; continue;
// offset verifier will correct the position on the exit from // offset verifier will correct the position on the exit from
// current namespace, including 'continue', 'return' and // current namespace, including 'continue', 'return' and
// exceptions. // exceptions.
SETUP_OFFSET_VERIFIER(infoBlockEndVerifier, io, blockSize, 0); SETUP_OFFSET_VERIFIER(infoBlockEndVerifier, io, blockSize, 0);
if (keys.contains(key)) { if (keys.contains(key)) {
error = "Found duplicate entry for key "; error = "Found duplicate entry for key ";
continue; continue;
} }
 End of changes. 1 change blocks. 
1 lines changed or deleted 1 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)