Minor reformat.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36791 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -308,18 +308,22 @@ wxString wxFileConfig::GetLocalDir()
|
|||||||
|
|
||||||
#if defined(__WXMAC__) || defined(__DOS__)
|
#if defined(__WXMAC__) || defined(__DOS__)
|
||||||
// no local dir concept on Mac OS 9 or MS-DOS
|
// no local dir concept on Mac OS 9 or MS-DOS
|
||||||
return GetGlobalDir() ;
|
strDir << GetGlobalDir() ;
|
||||||
#else
|
#else
|
||||||
wxGetHomeDir(&strDir);
|
wxGetHomeDir(&strDir);
|
||||||
|
|
||||||
#ifdef __UNIX__
|
#ifdef __UNIX__
|
||||||
#ifdef __VMS
|
if (
|
||||||
if (strDir.Last() != wxT(']'))
|
(strDir.Last() != wxT('/'))
|
||||||
#endif
|
#ifdef __VMS
|
||||||
if (strDir.Last() != wxT('/')) strDir << wxT('/');
|
&& (strDir.Last() != wxT(']'))
|
||||||
#else
|
#endif
|
||||||
if (strDir.Last() != wxT('\\')) strDir << wxT('\\');
|
)
|
||||||
#endif
|
strDir << wxT('/');
|
||||||
|
#else
|
||||||
|
if (strDir.Last() != wxT('\\'))
|
||||||
|
strDir << wxT('\\');
|
||||||
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
return strDir;
|
return strDir;
|
||||||
|
Reference in New Issue
Block a user