Rearrange condition for pure midi plugins
[ardour.git] / gtk2_ardour / keyboard.cc
index a84f6478060c1b24e45c6c65e263c45c4f068af8..6341071451f94d3b5e99b72169e8405652ff53e2 100644 (file)
@@ -30,7 +30,7 @@
 #include "opts.h"
 #include "ui_config.h"
 
-#include "i18n.h"
+#include "pbd/i18n.h"
 
 using namespace std;
 using namespace Gtk;
@@ -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;