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:
Tobias Doerffel
2010-08-12 10:27:41 +02:00
parent 09b5bc906e
commit 0770bda441
2 changed files with 3 additions and 3 deletions

View File

@@ -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

View File

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