From 16871c4c89390f2df3394629a3a1c914f9652c53 Mon Sep 17 00:00:00 2001 From: Jacek Caban Date: Fri, 27 Jul 2012 10:51:53 +0200 Subject: [PATCH] mshtml: Grow the buffer faster in BufferBSC_read_data. --- dlls/mshtml/navigate.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dlls/mshtml/navigate.c b/dlls/mshtml/navigate.c index 878117f2930..8956dfd1925 100644 --- a/dlls/mshtml/navigate.c +++ b/dlls/mshtml/navigate.c @@ -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); }