]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/file.cpp
a wxCHECK added
[wxWidgets.git] / src / common / file.cpp
index f563a5cd3db44264b56468ca01dca14f8ae169c8..b29367e38965c68eee77de20a3a4f7f70217ada9 100644 (file)
@@ -523,11 +523,11 @@ bool wxTempFile::Open(const wxString& strName)
     {
         // file probably didn't exist, just create with default mode _using_
         // user's umask (new files creation should respet umask)
-        changedUmask = TRUE;
+        changedUmask = FALSE;
     }
 #endif // Unix
 
-    bool ok =  m_file.Open(m_strTemp, wxFile::write, access);
+    bool ok = m_file.Open(m_strTemp, wxFile::write, access);
 
 #ifdef __UNIX__
     if ( changedUmask )