fix search path for MIDNAM files
authorPaul Davis <paul@linuxaudiosystems.com>
Wed, 23 May 2012 23:09:37 +0000 (23:09 +0000)
committerPaul Davis <paul@linuxaudiosystems.com>
Wed, 23 May 2012 23:09:37 +0000 (23:09 +0000)
git-svn-id: svn://localhost/ardour2/branches/3.0@12407 d708f5d6-7413-0410-9779-e7cbd77b26cf

libs/ardour/midi_patch_search_path.cc

index 3f83375c9672e4d09e588de911cb8970aaa77662..88776dc0c4fa7c722395870ab728697fa45dfdb2 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_config_search_path());
        spath.add_subdirectory_to_paths(midi_patch_dir_name);
 
        bool midi_patch_path_defined = false;