1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-07-13 15:17:42 +02:00

Fix mac build

This commit is contained in:
Paul Licameli 2016-04-11 07:43:06 -04:00
commit f7c2b475e7

View File

@ -1448,9 +1448,9 @@ void PluginManager::FindFilesInPathList(const wxString & pattern,
// Add the "Audacity" plug-ins directory // Add the "Audacity" plug-ins directory
wxFileName ff = PlatformCompatibility::GetExecutablePath(); wxFileName ff = PlatformCompatibility::GetExecutablePath();
#if defined(__WXMAC__) #if defined(__WXMAC__)
f.RemoveLastDir(); ff.RemoveLastDir();
f.RemoveLastDir(); ff.RemoveLastDir();
f.RemoveLastDir(); ff.RemoveLastDir();
#endif #endif
ff.AppendDir(wxT("plug-ins")); ff.AppendDir(wxT("plug-ins"));
paths.Add(ff.GetPath()); paths.Add(ff.GetPath());