diff options
author | Thomas Adam <thomas@xteddy.org> | 2014-06-20 12:59:43 +0100 |
---|---|---|
committer | Thomas Adam <thomas@xteddy.org> | 2014-06-20 12:59:43 +0100 |
commit | 814e40522cb611895e84fc2aaf58d5d0ca9ba348 (patch) | |
tree | 12e56d683fbcadf4d67f8a78acf8afcf1343ba0b /cmd-unbind-key.c | |
parent | 1544c688e6bdc61fec8a96588b2552551753e46b (diff) | |
parent | c8efffb4db5c521640dd5687d2a640ca04664aad (diff) | |
download | rtmux-814e40522cb611895e84fc2aaf58d5d0ca9ba348.tar.gz rtmux-814e40522cb611895e84fc2aaf58d5d0ca9ba348.tar.bz2 rtmux-814e40522cb611895e84fc2aaf58d5d0ca9ba348.zip |
Merge branch 'obsd-master'
Diffstat (limited to 'cmd-unbind-key.c')
-rw-r--r-- | cmd-unbind-key.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/cmd-unbind-key.c b/cmd-unbind-key.c index cf6ad506..494404c1 100644 --- a/cmd-unbind-key.c +++ b/cmd-unbind-key.c @@ -27,12 +27,12 @@ */ enum cmd_retval cmd_unbind_key_exec(struct cmd *, struct cmd_q *); -enum cmd_retval cmd_unbind_key_table(struct cmd *, struct cmd_q *, int); +enum cmd_retval cmd_unbind_key_mode_table(struct cmd *, struct cmd_q *, int); const struct cmd_entry cmd_unbind_key_entry = { "unbind-key", "unbind", "acnt:", 0, 1, - "[-acn] [-t key-table] key", + "[-acn] [-t mode-table] key", 0, NULL, cmd_unbind_key_exec @@ -64,7 +64,7 @@ cmd_unbind_key_exec(struct cmd *self, struct cmd_q *cmdq) } if (args_has(args, 't')) - return (cmd_unbind_key_table(self, cmdq, key)); + return (cmd_unbind_key_mode_table(self, cmdq, key)); if (key == KEYC_NONE) { while (!RB_EMPTY(&key_bindings)) { @@ -81,7 +81,7 @@ cmd_unbind_key_exec(struct cmd *self, struct cmd_q *cmdq) } enum cmd_retval -cmd_unbind_key_table(struct cmd *self, struct cmd_q *cmdq, int key) +cmd_unbind_key_mode_table(struct cmd *self, struct cmd_q *cmdq, int key) { struct args *args = self->args; const char *tablename; |