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 1473bc5eac
commit 114c1973e2
2 changed files with 3 additions and 3 deletions

View File

@@ -120,9 +120,9 @@ inline bool typeInfo<float>::isEqual( float _x, float _y )
#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" );