making sure that we do not empty our segmented buffer if we did not create it

bug fix 19290.  submitted by bienvenu, r=dougt.
This commit is contained in:
dougt%netscape.com 1999-11-19 03:01:33 +00:00
Родитель 13dd074be1
Коммит 5a214050de
1 изменённых файлов: 2 добавлений и 1 удалений

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

@ -474,7 +474,8 @@ NS_IMETHODIMP FileImpl::Flush()
}
}
mOutBuffer.Empty();
if (mGotBuffers)
mOutBuffer.Empty();
mWriteCursor = nsnull;
mWriteLimit = nsnull;