fixed bug in wxStreamBuffer::Read(wxStreamBuffer *) and improved its documentation (patch 1273774 by Paul Cornett)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35348 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -434,7 +434,7 @@ size_t wxStreamBuffer::Read(wxStreamBuffer *dbuf)
|
||||
|
||||
do
|
||||
{
|
||||
nRead = Read(dbuf, WXSIZEOF(buf));
|
||||
nRead = Read(buf, WXSIZEOF(buf));
|
||||
if ( nRead )
|
||||
{
|
||||
nRead = dbuf->Write(buf, nRead);
|
||||
|
Reference in New Issue
Block a user