Patching GetAttribute (the default was returning a value that indicated that the

attribute was present, and it should have been returning NOT THERE as a default).
This commit is contained in:
hyatt%netscape.com 1998-12-18 23:56:37 +00:00
Родитель b9aa25e827
Коммит ebb3282a61
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -902,7 +902,7 @@ nsRDFElement::SetAttribute(const nsString& aName,
NS_IMETHODIMP
nsRDFElement::GetAttribute(const nsString& aName, nsString& aResult) const
{
nsresult rv = NS_CONTENT_ATTR_NO_VALUE;
nsresult rv = NS_CONTENT_ATTR_NOT_THERE;
if (mAttributes) {
AttributeKey key(aName);