From ec8a840b1ae564d9401cac165063f20b48145300 Mon Sep 17 00:00:00 2001 From: John Emmas Date: Sun, 8 May 2016 12:06:12 +0100 Subject: 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. --- gtk2_ardour/keyboard.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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& files) vector 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; -- cgit v1.2.3