#736: Fix for Make starting with a dash.

This commit is contained in:
Andreas Huggel
2010-10-15 07:44:48 +00:00
parent 36f77ca74d
commit 3d172ef6f8
+1
View File
@@ -86,6 +86,7 @@ namespace Exiv2 {
bool TiffMnRegistry::operator==(const std::string& key) const
{
std::string make(make_);
if (key.size() > 0 && key[0] == '-') return false;
return make == key.substr(0, make.length());
}