'libs/gtkmm2ext' - Compiler specific includes
[ardour.git] / libs / ardour / midi_patch_search_path.cc
index 3f83375c9672e4d09e588de911cb8970aaa77662..ccad1de4664c482cce83f8201dc39e7a3fa703a1 100644 (file)
@@ -34,9 +34,7 @@ namespace ARDOUR {
 SearchPath
 midi_patch_search_path ()
 {
-       SearchPath spath (user_config_directory ());
-
-       spath += ardour_dll_directory ();
+       SearchPath spath (ardour_data_search_path());
        spath.add_subdirectory_to_paths(midi_patch_dir_name);
 
        bool midi_patch_path_defined = false;