mshtml: Grow the buffer faster in BufferBSC_read_data.

This commit is contained in:
Jacek Caban 2012-07-27 10:51:53 +02:00 committed by Alexandre Julliard
parent f98c3bbd9c
commit 16871c4c89
1 changed files with 1 additions and 1 deletions

View File

@ -851,7 +851,7 @@ static HRESULT BufferBSC_read_data(BSCallback *bsc, IStream *stream)
} }
do { do {
if(This->bsc.readed == This->size) { if(This->bsc.readed >= This->size) {
This->size <<= 1; This->size <<= 1;
This->buf = heap_realloc(This->buf, This->size); This->buf = heap_realloc(This->buf, This->size);
} }