From 5ea6544c6df4d31630c1b8d28cb4d8569a7a5ba4 Mon Sep 17 00:00:00 2001 From: Andreas Huggel Date: Thu, 13 Jan 2005 15:55:05 +0000 Subject: [PATCH] Fixed bug #407 (that was easier than I first thought) --- src/exif.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/exif.cpp b/src/exif.cpp index e6427642..0424036b 100644 --- a/src/exif.cpp +++ b/src/exif.cpp @@ -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);