summaryrefslogtreecommitdiff
path: root/libs
diff options
context:
space:
mode:
Diffstat (limited to 'libs')
-rw-r--r--libs/ardour/filesystem_paths.cc11
1 files changed, 1 insertions, 10 deletions
diff --git a/libs/ardour/filesystem_paths.cc b/libs/ardour/filesystem_paths.cc
index a13b7fc45f..bc2055c0dc 100644
--- a/libs/ardour/filesystem_paths.cc
+++ b/libs/ardour/filesystem_paths.cc
@@ -36,8 +36,7 @@ user_config_directory ()
{
const string home_dir = Glib::get_home_dir ();
- if (home_dir.empty ())
- {
+ if (home_dir.empty ()) {
const string error_msg = "Unable to determine home directory";
// log the error
@@ -71,13 +70,9 @@ SearchPath
system_config_search_path ()
{
#ifdef WITH_STATIC_PATHS
-
SearchPath config_path(string(CONFIG_DIR));
-
#else
-
SearchPath config_path(system_config_directories());
-
#endif
config_path.add_subdirectory_to_paths("ardour3");
@@ -89,13 +84,9 @@ SearchPath
system_data_search_path ()
{
#ifdef WITH_STATIC_PATHS
-
SearchPath data_path(string(DATA_DIR));
-
#else
-
SearchPath data_path(system_data_directories());
-
#endif
data_path.add_subdirectory_to_paths("ardour3");