13
0

return the full MIDI map search path from system_midi_map_search_path(), to fix #5379

This commit is contained in:
Paul Davis 2013-03-18 11:42:49 -04:00
parent 23d1e370a0
commit 1847053f66

View File

@ -118,14 +118,7 @@ system_midi_map_search_path ()
SearchPath spath (ardour_data_search_path());
spath.add_subdirectory_to_paths(midi_map_dir_name);
// just return the first directory in the search path that exists
for (SearchPath::const_iterator i = spath.begin(); i != spath.end(); ++i) {
if (Glib::file_test (*i, Glib::FILE_TEST_EXISTS)) {
return *i;
}
}
return std::string();
return spath;
}
static std::string