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:
@@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user