diff options
Diffstat (limited to 'gtk2_ardour/keyboard.cc')
-rw-r--r-- | gtk2_ardour/keyboard.cc | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/gtk2_ardour/keyboard.cc b/gtk2_ardour/keyboard.cc index 41e6a08814..2fbd5812ad 100644 --- a/gtk2_ardour/keyboard.cc +++ b/gtk2_ardour/keyboard.cc @@ -126,9 +126,7 @@ ArdourKeyboard::setup_keybindings () /* not absolute - look in the usual places */ sys::path keybindings_file; - SearchPath spath = ardour_search_path() + user_config_directory() + system_config_search_path(); - - if ( ! find_file_in_search_path (spath, keybindings_path, keybindings_file)) { + if ( ! find_file_in_search_path (ardour_config_search_path(), keybindings_path, keybindings_file)) { if (keybindings_path == default_bindings) { error << string_compose (_("Default keybindings not found - %1 will be hard to use!"), PROGRAM_NAME) << endmsg; |