]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/textfile.cpp
Committing in .
[wxWidgets.git] / src / common / textfile.cpp
index 582160af565301fa297797ea7dc93465b4c3a8e8..fd7b30c50e98b8610514a825b59e5e954b5afb06 100644 (file)
@@ -187,7 +187,8 @@ bool wxTextFile::OnWrite(wxTextFileType typeNew, wxMBConv& conv)
     // We do NOT want wxPATH_NORM_CASE here, or the case will not
     // be preserved.
     if ( !fn.IsAbsolute() )
     // We do NOT want wxPATH_NORM_CASE here, or the case will not
     // be preserved.
     if ( !fn.IsAbsolute() )
-        fn.Normalize((wxPathNormalize) (wxPATH_NORM_ENV_VARS | wxPATH_NORM_DOTS | wxPATH_NORM_TILDE | wxPATH_NORM_ABSOLUTE | wxPATH_NORM_LONG));
+        fn.Normalize(wxPATH_NORM_ENV_VARS | wxPATH_NORM_DOTS | wxPATH_NORM_TILDE |
+                     wxPATH_NORM_ABSOLUTE | wxPATH_NORM_LONG);
 
     wxTempFile fileTmp(fn.GetFullPath());
 
 
     wxTempFile fileTmp(fn.GetFullPath());