Fixed bug #407 (that was easier than I first thought)

This commit is contained in:
Andreas Huggel
2005-01-13 15:55:05 +00:00
parent 3a6b642c6a
commit 5ea6544c6d
+1
View File
@@ -277,6 +277,7 @@ namespace Exiv2 {
long size = length->toLong();
if (len < offset + size) return 2;
format->setDataArea(buf + offset, size);
format->setValue("0");
Ifd::iterator pos = ifd1.findTag(0x0201);
assert(pos != ifd1.end());
pos->setDataArea(buf + offset, size);