slackbuilds_ponce/misc/pinfo/fix_f9_f10_binds.diff
B. Watson 43ae2c74a1
misc/pinfo: Fix keybinds, man page.
Signed-off-by: B. Watson <urchlay@slackware.uk>

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
2023-04-29 18:11:54 +07:00

16 lines
578 B
Diff

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);