]> git.saurik.com Git - wxWidgets.git/commitdiff
tweak GetAppDir() to recognize more debug build directory suffixes
authorVadim Zeitlin <vadim@wxwidgets.org>
Wed, 21 Jan 2009 23:42:17 +0000 (23:42 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Wed, 21 Jan 2009 23:42:17 +0000 (23:42 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58287 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/msw/stdpaths.cpp

index 1f21d6d5aefb944ac5c6a212a10cbc744a752bd5..3e928c146219d37af017fdae2340fcc54136b0a2 100644 (file)
@@ -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__