mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-21 06:06:25 +01:00
Use PBD::find_files_matching_pattern instead of other variations
This commit is contained in:
parent
1a4fdf0b22
commit
093fb77b88
11 changed files with 26 additions and 107 deletions
|
|
@ -616,8 +616,7 @@ ARDOUR::get_jack_server_paths (const vector<std::string>& server_dir_paths,
|
|||
vector<std::string>& server_paths)
|
||||
{
|
||||
for (vector<string>::const_iterator i = server_names.begin(); i != server_names.end(); ++i) {
|
||||
Glib::PatternSpec ps (*i);
|
||||
find_matching_files_in_directories (server_dir_paths, ps, server_paths);
|
||||
find_files_matching_pattern (server_paths, server_dir_paths, *i);
|
||||
}
|
||||
return !server_paths.empty();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue