Fix portability of test and use temporary test
[ardour.git] / libs / ardour / midi_patch_search_path.cc
index 88776dc0c4fa7c722395870ab728697fa45dfdb2..ccad1de4664c482cce83f8201dc39e7a3fa703a1 100644 (file)
@@ -34,7 +34,7 @@ namespace ARDOUR {
 SearchPath
 midi_patch_search_path ()
 {
-       SearchPath spath (ardour_config_search_path());
+       SearchPath spath (ardour_data_search_path());
        spath.add_subdirectory_to_paths(midi_patch_dir_name);
 
        bool midi_patch_path_defined = false;