fixed stream code breakage caused by the previous check in

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17105 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2002-09-10 11:45:10 +00:00
parent a579926062
commit 9b11cb6e3f

View File

@@ -811,7 +811,7 @@ wxInputStream& wxInputStream::Read(void *buf, size_t size)
break;
}
read = OnSysRead(buf, size);
read = OnSysRead(p, size);
if ( !read )
{
// no more data available