X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/c801d85f158c4cba50b588807daabdcbd0ed3853..fe3229dfa4768f45a23098382b0b48a7c218a92a:/src/common/intl.cpp diff --git a/src/common/intl.cpp b/src/common/intl.cpp index b5520e58b7..9750b9d809 100644 --- a/src/common/intl.cpp +++ b/src/common/intl.cpp @@ -262,7 +262,7 @@ bool wxMsgCatalog::Load(const char *szDirPrefix, const char *szName) // get the file size off_t nSize = fileMsg.Length(); - if ( nSize == ofsInvalid ) + if ( nSize == wxInvalidOffset ) return FALSE; // read the whole file in memory