From 114c1973e2939b9506b48de14b73cf9df010ecbd Mon Sep 17 00:00:00 2001 From: Tobias Doerffel Date: Thu, 12 Aug 2010 10:27:41 +0200 Subject: [PATCH] Renamed PATH_SEPARATOR to LADSPA_PATH_SEPARATOR and fixed it Commit 4e9ebd09c69deb22d4c76179259bb74de799fae2 introduced PATH_SEPARATOR but with wrong syntax. Fixed this and renamed it to LADSPA_PATH_SEPARATOR. --- include/lmms_basics.h | 4 ++-- src/core/ladspa_manager.cpp | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/include/lmms_basics.h b/include/lmms_basics.h index a71a08ea7..114efc2ce 100644 --- a/include/lmms_basics.h +++ b/include/lmms_basics.h @@ -120,9 +120,9 @@ inline bool typeInfo::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 diff --git a/src/core/ladspa_manager.cpp b/src/core/ladspa_manager.cpp index a7be25eb0..03ee7e82f 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( PATH_SEPERATOR ); + split( LADSPA_PATH_SEPERATOR ); ladspaDirectories += configManager::inst()->ladspaDir().split( ',' ); ladspaDirectories.push_back( configManager::inst()->pluginDir() + "ladspa" );