This commit is contained in:
darin%meer.net 2006-06-28 23:49:57 +00:00
Родитель 5e78949d9e
Коммит 1fe60255fb
1 изменённых файлов: 2 добавлений и 2 удалений

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

@ -484,7 +484,7 @@ nsTAString_CharT::GetWritableBuffer(char_type** data, size_type size)
{
AsObsoleteString()->SetLength(size);
if (AsObsoleteString()->Length() != size) {
*data = char_type(0);
*data = nsnull;
return 0;
}
}
@ -496,7 +496,7 @@ nsTAString_CharT::GetWritableBuffer(char_type** data, size_type size)
if (size_type(frag.mEnd - frag.mStart) != len)
{
*data = char_type(0);
*data = nsnull;
return 0;
}