This commit is contained in:
cvshook%sicking.cc 2005-12-28 23:33:14 +00:00
Родитель 0098441920
Коммит 078b46a709
1 изменённых файлов: 1 добавлений и 2 удалений

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

@ -462,8 +462,7 @@ nsAttrAndChildArray::GetSafeAttrNameAt(PRUint32 aPos) const
}
aPos -= mapped;
PRUint32 slotCount = AttrSlotCount();
if (aPos < slotCount) {
if (aPos >= AttrSlotCount()) {
return nsnull;
}