summaryrefslogtreecommitdiffstats
path: root/misc/pinfo/fix_f9_f10_binds.diff
diff options
context:
space:
mode:
Diffstat (limited to 'misc/pinfo/fix_f9_f10_binds.diff')
-rw-r--r--misc/pinfo/fix_f9_f10_binds.diff16
1 files changed, 16 insertions, 0 deletions
diff --git a/misc/pinfo/fix_f9_f10_binds.diff b/misc/pinfo/fix_f9_f10_binds.diff
new file mode 100644
index 0000000000..130c2e399c
--- /dev/null
+++ b/misc/pinfo/fix_f9_f10_binds.diff
@@ -0,0 +1,16 @@
+diff --git a/src/parse_config.c b/src/parse_config.c
+index 6345e7d..84abb1d 100644
+--- a/src/parse_config.c
++++ b/src/parse_config.c
+@@ -877,9 +877,9 @@ parse_line(char *line)
+ *key = KEY_F(7);
+ else if (!(strncmp(temp + 4, "F(8)", 4)))
+ *key = KEY_F(8);
+- else if (!(strncmp(temp + 4, "(F9)", 4)))
++ else if (!(strncmp(temp + 4, "F(9)", 4)))
+ *key = KEY_F(9);
+- else if (!(strncmp(temp + 4, "(F10)", 5)))
++ else if (!(strncmp(temp + 4, "F(10)", 5)))
+ *key = KEY_F(10);
+ else if (!(strncmp(temp + 4, "F(11)", 5)))
+ *key = KEY_F(11);