#736: Fix for Make starting with a dash.
This commit is contained in:
@@ -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());
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user