]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/ffile.cpp
small fix for mingw32 compilation
[wxWidgets.git] / src / common / ffile.cpp
index 4e1aea21ecce0669d15c8a441479fc8fd558b9cb..f880a43134e3b1ec8f0c3f31ff0aa3c18f0f8679 100644 (file)
@@ -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());