Commit d1f0a3ab authored by Alexey Sakovets's avatar Alexey Sakovets
Browse files

Fix wrong calculation of thumbnail index.

parent 9280eaf5
......@@ -237,7 +237,7 @@ void DocumentPrivate::parseEXTH(const QByteArray& data)
case 103: metadata[Document::Description]=readEXTHRecord(data,offset); break;
case 105: metadata[Document::Subject]=readEXTHRecord(data,offset); break;
case 109: metadata[Document::Copyright]=readEXTHRecord(data,offset); break;
case 202: thumbnailIndex = readBELong(data,offset); offset+=4; break;
case 202: offset += 4; thumbnailIndex = readBELong(data,offset); offset+=4; break;
default: readEXTHRecord(data,offset);
}
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment