From: Vadim Zeitlin Date: Wed, 21 Jan 2009 23:42:17 +0000 (+0000) Subject: tweak GetAppDir() to recognize more debug build directory suffixes X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/b4d9ed2144bc84a70de10f4c43a63a1901d3f950 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 --- diff --git a/src/msw/stdpaths.cpp b/src/msw/stdpaths.cpp index 1f21d6d5ae..3e928c1462 100644 --- a/src/msw/stdpaths.cpp +++ b/src/msw/stdpaths.cpp @@ -257,7 +257,7 @@ wxString wxStandardPaths::GetAppDir() { lastdir = fn.GetDirs().Last(); lastdir.MakeLower(); - if ( lastdir.Matches(_T("debug*")) || lastdir.Matches(_T("vc_msw*")) ) + if ( lastdir.Matches(_T("debug*")) || lastdir.Matches(_T("vc*msw*")) ) fn.RemoveLastDir(); } #endif // __WXDEBUG__