include mouse bindings even in merged cheat sheets
authorPaul Davis <paul@linuxaudiosystems.com>
Fri, 31 Jul 2009 20:33:58 +0000 (20:33 +0000)
committerPaul Davis <paul@linuxaudiosystems.com>
Fri, 31 Jul 2009 20:33:58 +0000 (20:33 +0000)
git-svn-id: svn://localhost/ardour2/branches/3.0@5448 d708f5d6-7413-0410-9779-e7cbd77b26cf

tools/fmt-bindings

index be1b23bf528a22ccc88dd685d1c2cf209b3ba839..148ca20955c172c25c4c0bbeb67c57d97e453940 100755 (executable)
@@ -182,8 +182,12 @@ while (<>) {
            if ($merge_bindings{$lookup}) {
                $binding = $merge_bindings{$lookup};
            } else {
-               # this action is not defined in the merge from set, so forget it 
-               next;
+               if ($key =~ /^\+/) {
+                   # forced inclusion of bindings from template
+               } else {
+                   # this action is not defined in the merge from set, so forget it 
+                   next;
+               }
            }
        }