From: Guilhem Lavaux Date: Thu, 24 Feb 2000 19:05:11 +0000 (+0000) Subject: Added a missing wxStream_NOERROR X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/802e2f34c12cde4c28b1a43e76e9d0f8d7f1584b Added a missing wxStream_NOERROR git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6267 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/common/wfstream.cpp b/src/common/wfstream.cpp index b43ddb3fba..3e1970a3ff 100644 --- a/src/common/wfstream.cpp +++ b/src/common/wfstream.cpp @@ -73,6 +73,7 @@ size_t wxFileInputStream::OnSysRead(void *buffer, size_t size) ret = m_file->Read(buffer, size); + m_lasterror = wxStream_NOERROR; if (m_file->Eof()) m_lasterror = wxStream_EOF; if (ret == wxInvalidOffset) {