X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/0efe5ba76e45711cad627222905a55c7e04adf9a..510649e4d5e8eaf8967ddd082f3eb5945471eb5e:/src/common/ffile.cpp diff --git a/src/common/ffile.cpp b/src/common/ffile.cpp index 4e1aea21ec..f880a43134 100644 --- a/src/common/ffile.cpp +++ b/src/common/ffile.cpp @@ -74,7 +74,7 @@ bool wxFFile::Close() { if ( IsOpened() ) { - if ( !fclose(m_fp) ) + if ( fclose(m_fp) != 0 ) { wxLogSysError(_("can't close file '%s'"), m_name.c_str());