From 0770bda441f6a3db20fef8cd028d4421faaba91d 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 288cf59de..37a1f487f 100644 --- a/include/lmms_basics.h +++ b/include/lmms_basics.h @@ -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 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" );