X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/ba7f9a90b411a1b8b940d92c3fc26b2ee2cdafcc..a1a2adef0792a4accda1a7c48052dbfd9511c5fa:/src/common/textfile.cpp diff --git a/src/common/textfile.cpp b/src/common/textfile.cpp index eb9bae9f39..3f56c0f6fc 100644 --- a/src/common/textfile.cpp +++ b/src/common/textfile.cpp @@ -164,7 +164,7 @@ bool wxTextFile::Read() int n, nRead; while ( !m_file.Eof() ) { nRead = m_file.Read(buf, WXSIZEOF(buf)); - if ( nRead == ofsInvalid ) { + if ( nRead == wxInvalidOffset ) { // read error (error message already given in wxFile::Read) m_file.Close(); return FALSE;