Renamed PATH_SEPARATOR to LADSPA_PATH_SEPARATOR and fixed it
Commit 4e9ebd09c6 introduced PATH_SEPARATOR
but with wrong syntax. Fixed this and renamed it to LADSPA_PATH_SEPARATOR.
This commit is contained in:
@@ -129,9 +129,9 @@ const ch_cnt_t SURROUND_CHANNELS =
|
||||
|
||||
|
||||
#ifdef LMMS_BUILD_WIN32
|
||||
#define PATH_SEPERATOR = ';';
|
||||
#define LADSPA_PATH_SEPERATOR ';'
|
||||
#else
|
||||
#define PATH_SEPERATOR = ':';
|
||||
#define LADSPA_PATH_SEPERATOR ':'
|
||||
#endif
|
||||
|
||||
|
||||
|
||||
@@ -38,7 +38,7 @@
|
||||
ladspaManager::ladspaManager()
|
||||
{
|
||||
QStringList ladspaDirectories = QString( getenv( "LADSPA_PATH" ) ).
|
||||
split( PATH_SEPERATOR );
|
||||
split( LADSPA_PATH_SEPERATOR );
|
||||
ladspaDirectories += configManager::inst()->ladspaDir().split( ',' );
|
||||
|
||||
ladspaDirectories.push_back( configManager::inst()->pluginDir() + "ladspa" );
|
||||
|
||||
Reference in New Issue
Block a user