Bug 2723 - VST_PATH environment variable fails for non-standard locations

This commit is contained in:
Leland Lucius 2021-03-28 14:02:21 -05:00
parent eb39642969
commit c9afd39845
2 changed files with 2 additions and 2 deletions

View File

@ -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());

View File

@ -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());