From b0bcc78732fb2ecef1fbfcf6c6ca5afbac4a29b6 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Tue, 4 Mar 2008 12:14:40 +0000 Subject: [PATCH] remove leading dots from .ini/.conf in AddConfFileExtIfNeeded() as this results in double dots in the resulting file name git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52313 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/common/fileconf.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/common/fileconf.cpp b/src/common/fileconf.cpp index 6ffebac194..d8b35dfce9 100644 --- a/src/common/fileconf.cpp +++ b/src/common/fileconf.cpp @@ -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 } } -- 2.45.2