From 6b954dc0f45418b297066b92db97dacd4c15bc5a Mon Sep 17 00:00:00 2001 From: Paul Licameli Date: Mon, 11 Apr 2016 07:42:51 -0400 Subject: [PATCH] Fix mac build --- src/PluginManager.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/PluginManager.cpp b/src/PluginManager.cpp index 6341eaade..3fe6ca0d7 100644 --- a/src/PluginManager.cpp +++ b/src/PluginManager.cpp @@ -1448,9 +1448,9 @@ void PluginManager::FindFilesInPathList(const wxString & pattern, // Add the "Audacity" plug-ins directory wxFileName ff = PlatformCompatibility::GetExecutablePath(); #if defined(__WXMAC__) - f.RemoveLastDir(); - f.RemoveLastDir(); - f.RemoveLastDir(); + ff.RemoveLastDir(); + ff.RemoveLastDir(); + ff.RemoveLastDir(); #endif ff.AppendDir(wxT("plug-ins")); paths.Add(ff.GetPath());