Skip to content

Commit

Permalink
Fix 'xml1' item writing.
Browse files Browse the repository at this point in the history
  • Loading branch information
Lasse Heikkila committed Nov 11, 2016
1 parent 01d27bd commit 6791bc9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Srcs/writer/metadatawriter.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ std::uint32_t MetadataWriter::getMetadataLength() const
static const std::uint32_t TIFF_HEADER_OFFSET_LENGTH = 4; // size of ExifDataBlock.exif_tiff_header_offset
length += TIFF_HEADER_OFFSET_LENGTH;
}
else
else if (mType != XML_ITEM_TYPE)
{
throw std::runtime_error("Unknown handler type '" + mType + "' while adding metadata.");
}
Expand Down

0 comments on commit 6791bc9

Please sign in to comment.