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:
parent
9d272435b8
commit
b0bcc78732
@ -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
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user