Fix for wxPyInputStream, m_lastRead was getting incremented twice.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17222 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn
2002-09-17 01:44:24 +00:00
parent 965079dde9
commit 5c649b815c

View File

@@ -889,7 +889,6 @@ size_t wxPyCBInputStream::OnSysRead(void *buffer, size_t bufsize) {
else else
m_lasterror = wxSTREAM_READ_ERROR; m_lasterror = wxSTREAM_READ_ERROR;
wxPyEndBlockThreads(); wxPyEndBlockThreads();
m_lastcount = o;
return o; return o;
} }