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__