#689: Workaround for handling Exiftool's XMP embedding into EPS

v0.27.3
vog 14 years ago
parent ab70bae59c
commit e3d2c7491b

@ -240,7 +240,7 @@ namespace Exiv2
const size_t startPos = pos; const size_t startPos = pos;
pos = readLine(line, data, startPos, size); pos = readLine(line, data, startPos, size);
// implicit comments // implicit comments
if (line == "%%EOF" || !(line.size() >= 2 && line[0] == '%' && '\x21' <= line[1] && line[1] <= '\x7e')) { if (line == "%%EOF" || line == "%begin_xml_code" || !(line.size() >= 2 && line[0] == '%' && '\x21' <= line[1] && line[1] <= '\x7e')) {
if (posEndComments == size) { if (posEndComments == size) {
posEndComments = startPos; posEndComments = startPos;
#ifdef DEBUG #ifdef DEBUG

Loading…
Cancel
Save