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"));
|
||||
if (!vstpath.empty())
|
||||
{
|
||||
wxStringTokenizer tok(vstpath);
|
||||
wxStringTokenizer tok(vstpath, wxPATH_SEP);
|
||||
while (tok.HasMoreTokens())
|
||||
{
|
||||
pathList.push_back(tok.GetNextToken());
|
||||
|
|
|
@ -363,7 +363,7 @@ FilePaths LadspaEffectsModule::GetSearchPaths()
|
|||
pathVar = wxString::FromUTF8(getenv("LADSPA_PATH"));
|
||||
if (!pathVar.empty())
|
||||
{
|
||||
wxStringTokenizer tok(pathVar);
|
||||
wxStringTokenizer tok(pathVar, wxPATH_SEP);
|
||||
while (tok.HasMoreTokens())
|
||||
{
|
||||
pathList.push_back(tok.GetNextToken());
|
||||
|
|
Loading…
Reference in New Issue