From: Vadim Zeitlin Date: Tue, 10 Sep 2002 11:45:10 +0000 (+0000) Subject: fixed stream code breakage caused by the previous check in X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/9b11cb6e3fd432093b82b0fba6f9448adde50624 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 --- diff --git a/src/common/stream.cpp b/src/common/stream.cpp index a1d8cb04cc..26d3ab77cd 100644 --- a/src/common/stream.cpp +++ b/src/common/stream.cpp @@ -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