aboutsummaryrefslogtreecommitdiff
path: root/cmd-list-keys.c
diff options
context:
space:
mode:
authorThomas Adam <thomas@xteddy.org>2021-08-20 20:01:27 +0100
committerThomas Adam <thomas@xteddy.org>2021-08-20 20:01:27 +0100
commit944fde7c57c4f3caebb04cfc3943a81ee9729de8 (patch)
treeadaf9710dee065de66e40cd12359a403bd3f6dea /cmd-list-keys.c
parent41822ef782122be42305c0c21e2f166077d09002 (diff)
parent6cbc83c6a64f272575aac1ee32cc0a0b1cb75c7b (diff)
downloadrtmux-944fde7c57c4f3caebb04cfc3943a81ee9729de8.tar.gz
rtmux-944fde7c57c4f3caebb04cfc3943a81ee9729de8.tar.bz2
rtmux-944fde7c57c4f3caebb04cfc3943a81ee9729de8.zip
Merge branch 'obsd-master' into master
Diffstat (limited to 'cmd-list-keys.c')
-rw-r--r--cmd-list-keys.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/cmd-list-keys.c b/cmd-list-keys.c
index 91715f93..dbb510fb 100644
--- a/cmd-list-keys.c
+++ b/cmd-list-keys.c
@@ -211,7 +211,7 @@ cmd_list_keys_exec(struct cmd *self, struct cmdq_item *item)
repeat = 0;
tablewidth = keywidth = 0;
- table = key_bindings_first_table ();
+ table = key_bindings_first_table();
while (table != NULL) {
if (tablename != NULL && strcmp(table->name, tablename) != 0) {
table = key_bindings_next_table(table);
@@ -243,8 +243,7 @@ cmd_list_keys_exec(struct cmd *self, struct cmdq_item *item)
tmpsize = 256;
tmp = xmalloc(tmpsize);
-
- table = key_bindings_first_table ();
+ table = key_bindings_first_table();
while (table != NULL) {
if (tablename != NULL && strcmp(table->name, tablename) != 0) {
table = key_bindings_next_table(table);