]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/stdpaths.cpp
check for self-assignment in operator=
[wxWidgets.git] / 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__