mshtml: Break reading if IStream::Read returns 0 bytes.

This commit is contained in:
Jacek Caban 2006-06-25 14:11:35 +02:00 committed by Alexandre Julliard
parent 181332b7ec
commit 6c1e595c21
1 changed files with 2 additions and 0 deletions

View File

@ -358,6 +358,8 @@ static HRESULT WINAPI BindStatusCallback_OnDataAvailable(IBindStatusCallback *if
if(This->nsstream->buf_size)
FIXME("buffer is not empty!\n");
}else {
break;
}
}while(hres == S_OK);
}