tweak GetAppDir() to recognize more debug build directory suffixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58287 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -257,7 +257,7 @@ wxString wxStandardPaths::GetAppDir()
|
|||||||
{
|
{
|
||||||
lastdir = fn.GetDirs().Last();
|
lastdir = fn.GetDirs().Last();
|
||||||
lastdir.MakeLower();
|
lastdir.MakeLower();
|
||||||
if ( lastdir.Matches(_T("debug*")) || lastdir.Matches(_T("vc_msw*")) )
|
if ( lastdir.Matches(_T("debug*")) || lastdir.Matches(_T("vc*msw*")) )
|
||||||
fn.RemoveLastDir();
|
fn.RemoveLastDir();
|
||||||
}
|
}
|
||||||
#endif // __WXDEBUG__
|
#endif // __WXDEBUG__
|
||||||
|
Reference in New Issue
Block a user