diff options
author | John Emmas <johne53@tiscali.co.uk> | 2016-05-08 12:06:12 +0100 |
---|---|---|
committer | John Emmas <johne53@tiscali.co.uk> | 2016-05-08 12:06:12 +0100 |
commit | ec8a840b1ae564d9401cac165063f20b48145300 (patch) | |
tree | 3328987ba0237c2feca39e1fef205895f3f06d59 | |
parent | 914eee9f8c133e2ea2edf2243995ab5aa7b0151d (diff) |
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.
-rw-r--r-- | gtk2_ardour/keyboard.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk2_ardour/keyboard.cc b/gtk2_ardour/keyboard.cc index a84f647806..729337ed11 100644 --- a/gtk2_ardour/keyboard.cc +++ b/gtk2_ardour/keyboard.cc @@ -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; |