Commit 16871c4c authored by Jacek Caban's avatar Jacek Caban Committed by Alexandre Julliard

mshtml: Grow the buffer faster in BufferBSC_read_data.

parent f98c3bbd
......@@ -851,7 +851,7 @@ static HRESULT BufferBSC_read_data(BSCallback *bsc, IStream *stream)
}
do {
if(This->bsc.readed == This->size) {
if(This->bsc.readed >= This->size) {
This->size <<= 1;
This->buf = heap_realloc(This->buf, This->size);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment