]> git.saurik.com Git - wxWidgets.git/commitdiff
Added a missing wxStream_NOERROR
authorGuilhem Lavaux <lavaux@easynet.fr>
Thu, 24 Feb 2000 19:05:11 +0000 (19:05 +0000)
committerGuilhem Lavaux <lavaux@easynet.fr>
Thu, 24 Feb 2000 19:05:11 +0000 (19:05 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6267 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/common/wfstream.cpp

index b43ddb3fba3cddc29897d8278995081f8774fb98..3e1970a3ff37d5e567a95efae6f3ff806cef7e85 100644 (file)
@@ -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) {