X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/7a4b9130e341e8ed5192cac76574119fb6664c6c..30f82ea416c2b34d1d608cf6ebc369690eb2304e:/src/common/fstream.cpp diff --git a/src/common/fstream.cpp b/src/common/fstream.cpp index 3d0468bbb9..69bb1ea670 100644 --- a/src/common/fstream.cpp +++ b/src/common/fstream.cpp @@ -44,10 +44,7 @@ char wxFileInputStream::Peek() size_t wxFileInputStream::DoRead(void *buffer, size_t size) { - size_t ret = wxFile::Read(buffer, size); - m_eof = wxFile::Eof(); - - return ret; + return wxFile::Read(buffer, size); } off_t wxFileInputStream::DoSeekInput(off_t pos, wxSeekMode mode)