Fixed XmpKey::tagLabel() for custom keys (bug reported by Vladimir Nadvornik)

v0.27.3
Andreas Huggel 18 years ago
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…
Cancel
Save