Jacek Caban : mshtml: Break reading if IStream::Read returns 0 bytes.
Alexandre Julliard
julliard at wine.codeweavers.com
Mon Jun 26 07:12:47 CDT 2006
Module: wine
Branch: refs/heads/master
Commit: 6c1e595c211cd037653feed731cbf2608d26b58e
URL: http://source.winehq.org/git/?p=wine.git;a=commit;h=6c1e595c211cd037653feed731cbf2608d26b58e
Author: Jacek Caban <jacek at 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);
}
More information about the wine-cvs
mailing list