]> git.saurik.com Git - wxWidgets.git/commitdiff
remove leading dots from .ini/.conf in AddConfFileExtIfNeeded() as this results in...
authorVadim Zeitlin <vadim@wxwidgets.org>
Tue, 4 Mar 2008 12:14:40 +0000 (12:14 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Tue, 4 Mar 2008 12:14:40 +0000 (12:14 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52313 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/common/fileconf.cpp

index 6ffebac1943d43d87659969401a00e30d0a4e3f6..d8b35dfce9da0c2c8093713cb6f08414398581f4 100644 (file)
@@ -278,9 +278,9 @@ static void AddConfFileExtIfNeeded(wxFileName& fn)
 #if defined( __WXMAC__ )
         fn.SetName(fn.GetName() + wxT(" Preferences"));
 #elif defined( __UNIX__ )
-        fn.SetExt(wxT(".conf"));
+        fn.SetExt(wxT("conf"));
 #else   // Windows
-        fn.SetExt(wxT(".ini"));
+        fn.SetExt(wxT("ini"));
 #endif  // UNIX/Win
     }
 }