Fixed XmpKey::tagLabel() for custom keys (bug reported by Vladimir Nadvornik)
This commit is contained in:
parent
a818b4c052
commit
9f0b41c57d
@ -915,7 +915,9 @@ namespace Exiv2 {
|
||||
|
||||
std::string XmpKey::tagLabel() const
|
||||
{
|
||||
return XmpProperties::propertyTitle(*this);
|
||||
const char* pt = XmpProperties::propertyTitle(*this);
|
||||
if (!pt) return tagName();
|
||||
return pt;
|
||||
}
|
||||
|
||||
std::string XmpKey::ns() const
|
||||
|
||||
Loading…
Reference in New Issue
Block a user