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
This commit is contained in:
Vadim Zeitlin 2008-03-04 12:14:40 +00:00
parent 9d272435b8
commit b0bcc78732

View 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
}
}