From b4d9ed2144bc84a70de10f4c43a63a1901d3f950 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Wed, 21 Jan 2009 23:42:17 +0000 Subject: [PATCH] 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 --- src/msw/stdpaths.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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__ -- 2.47.2