mshtml: Fix offset in OnDataAvailable call.

This commit is contained in:
Jacek Caban 2007-04-27 21:40:02 +02:00 committed by Alexandre Julliard
parent c4c5d64ccf
commit c747ece6c7
1 changed files with 2 additions and 1 deletions

View File

@ -425,7 +425,8 @@ static HRESULT WINAPI BindStatusCallback_OnDataAvailable(IBindStatusCallback *if
nsres = nsIStreamListener_OnDataAvailable(This->nslistener,
(nsIRequest*)NSCHANNEL(This->nschannel), This->nscontext,
NSINSTREAM(This->nsstream), This->readed, This->nsstream->buf_size);
NSINSTREAM(This->nsstream), This->readed-This->nsstream->buf_size,
This->nsstream->buf_size);
if(NS_FAILED(nsres))
ERR("OnDataAvailable failed: %08x\n", nsres);