mirror of
https://github.com/irssi/irssi.git
synced 2026-08-08 19:30:15 +02:00
make clang-format happy in keyboard.c
This commit is contained in:
parent
fe9a443380
commit
0d2997b36f
1 changed files with 2 additions and 3 deletions
|
|
@ -770,9 +770,8 @@ static void cmd_show_keys(const char *searchkey, int full)
|
|||
for (key = rec->keys; key != NULL; key = key->next) {
|
||||
KEY_REC *rec = key->data;
|
||||
|
||||
if ((len == 0 ||
|
||||
(full ? strncmp(rec->key, searchkey, len) == 0 :
|
||||
strstr(rec->key, searchkey) != NULL)) &&
|
||||
if ((len == 0 || (full ? strncmp(rec->key, searchkey, len) == 0 :
|
||||
strstr(rec->key, searchkey) != NULL)) &&
|
||||
(!full || rec->key[len] == '\0')) {
|
||||
printformat(NULL, NULL, MSGLEVEL_CLIENTCRAP, TXT_BIND_LIST,
|
||||
rec->key, rec->info->id, rec->data == NULL ? "" : rec->data);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue