Fix bug 6833 in bugzilla
http://tracker.ardour.org/view.php?id=6833 When searching for our keyboard bindings file, ArdourKeyboard::find_bindings_files() was trying to find files with the wrong extension:- "..keys" rather than ".keys" (note the extra period). Fortunately, some later code was masking the problem (so we were eventually finding the file correctly). However we might as well fix the problem here, just in case we ever need to call ArdourKeyboard::find_bindings_files() from somewhere else in the future.
This commit is contained in:
parent
914eee9f8c
commit
ec8a840b1a
@ -56,7 +56,7 @@ ArdourKeyboard::find_bindings_files (map<string,string>& files)
|
||||
vector<std::string> found;
|
||||
Searchpath spath = ardour_config_search_path();
|
||||
|
||||
find_files_matching_pattern (found, spath, string_compose ("*.%1", Keyboard::binding_filename_suffix));
|
||||
find_files_matching_pattern (found, spath, string_compose ("*%1", Keyboard::binding_filename_suffix));
|
||||
|
||||
if (found.empty()) {
|
||||
return;
|
||||
|
Loading…
Reference in New Issue
Block a user