From 51ebb143deba56c50f63dd791bafc3cc49cb6186 Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Thu, 28 Apr 2022 14:32:50 -0600 Subject: [PATCH] on windows, allow ARDOUR_DATA_PATH envvar to be used in the data search path --- libs/ardour/filesystem_paths.cc | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/libs/ardour/filesystem_paths.cc b/libs/ardour/filesystem_paths.cc index 579f346e65..1d1bd125dd 100644 --- a/libs/ardour/filesystem_paths.cc +++ b/libs/ardour/filesystem_paths.cc @@ -290,14 +290,13 @@ ardour_data_search_path () search_path += user_config_directory(); #ifdef PLATFORM_WINDOWS search_path += windows_search_path (); -#else +#endif std::string s = Glib::getenv("ARDOUR_DATA_PATH"); if (s.empty()) { std::cerr << _("ARDOUR_DATA_PATH not set in environment\n"); } else { search_path += Searchpath (s); } -#endif } return search_path;