Jacek Caban : mshtml: Break reading if IStream::Read returns 0 bytes.
Module: wine Branch: refs/heads/master Commit: 6c1e595c211cd037653feed731cbf2608d26b58e URL: http://source.winehq.org/git/?p=wine.git;a=commit;h=6c1e595c211cd037653feed7... Author: Jacek Caban <jacek(a)codeweavers.com> Date: Sun Jun 25 14:11:35 2006 +0200 mshtml: Break reading if IStream::Read returns 0 bytes. --- dlls/mshtml/navigate.c | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/dlls/mshtml/navigate.c b/dlls/mshtml/navigate.c index 09e0814..f12183f 100644 --- a/dlls/mshtml/navigate.c +++ b/dlls/mshtml/navigate.c @@ -358,6 +358,8 @@ static HRESULT WINAPI BindStatusCallback if(This->nsstream->buf_size) FIXME("buffer is not empty!\n"); + }else { + break; } }while(hres == S_OK); }
participants (1)
-
Alexandre Julliard