mirror of
https://github.com/cookiengineer/audacity
synced 2025-06-16 08:09:32 +02:00
Bug 2723 - VST_PATH environment variable fails for non-standard locations
This commit is contained in:
parent
eb39642969
commit
c9afd39845
@ -402,7 +402,7 @@ PluginPaths VSTEffectsModule::FindPluginPaths(PluginManagerInterface & pm)
|
|||||||
wxString vstpath = wxString::FromUTF8(getenv("VST_PATH"));
|
wxString vstpath = wxString::FromUTF8(getenv("VST_PATH"));
|
||||||
if (!vstpath.empty())
|
if (!vstpath.empty())
|
||||||
{
|
{
|
||||||
wxStringTokenizer tok(vstpath);
|
wxStringTokenizer tok(vstpath, wxPATH_SEP);
|
||||||
while (tok.HasMoreTokens())
|
while (tok.HasMoreTokens())
|
||||||
{
|
{
|
||||||
pathList.push_back(tok.GetNextToken());
|
pathList.push_back(tok.GetNextToken());
|
||||||
|
@ -363,7 +363,7 @@ FilePaths LadspaEffectsModule::GetSearchPaths()
|
|||||||
pathVar = wxString::FromUTF8(getenv("LADSPA_PATH"));
|
pathVar = wxString::FromUTF8(getenv("LADSPA_PATH"));
|
||||||
if (!pathVar.empty())
|
if (!pathVar.empty())
|
||||||
{
|
{
|
||||||
wxStringTokenizer tok(pathVar);
|
wxStringTokenizer tok(pathVar, wxPATH_SEP);
|
||||||
while (tok.HasMoreTokens())
|
while (tok.HasMoreTokens())
|
||||||
{
|
{
|
||||||
pathList.push_back(tok.GetNextToken());
|
pathList.push_back(tok.GetNextToken());
|
||||||
|
Loading…
x
Reference in New Issue
Block a user