13
0

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:
John Emmas 2016-05-08 12:06:12 +01:00
parent 914eee9f8c
commit ec8a840b1a

View File

@ -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;