mshtml: Grow the buffer faster in BufferBSC_read_data.
This commit is contained in:
parent
f98c3bbd9c
commit
16871c4c89
|
@ -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);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue