diff --git a/include/lmms_basics.h b/include/lmms_basics.h index 716951b3c..a71a08ea7 100644 --- a/include/lmms_basics.h +++ b/include/lmms_basics.h @@ -119,6 +119,13 @@ inline bool typeInfo::isEqual( float _x, float _y ) #endif +#ifdef LMMS_BUILD_WIN32 +#define PATH_SEPERATOR = ';'; +#else +#define PATH_SEPERATOR = ':'; +#endif + + #define DEFAULT_CHANNELS 2 #define LMMS_DISABLE_SURROUND #ifdef LMMS_DISABLE_SURROUND diff --git a/src/core/ladspa_manager.cpp b/src/core/ladspa_manager.cpp index 80d184ceb..a7be25eb0 100644 --- a/src/core/ladspa_manager.cpp +++ b/src/core/ladspa_manager.cpp @@ -38,7 +38,7 @@ ladspaManager::ladspaManager() { QStringList ladspaDirectories = QString( getenv( "LADSPA_PATH" ) ). - split( ',' ); + split( PATH_SEPERATOR ); ladspaDirectories += configManager::inst()->ladspaDir().split( ',' ); ladspaDirectories.push_back( configManager::inst()->pluginDir() + "ladspa" );