aboutsummaryrefslogtreecommitdiffstats
path: root/src/screen_keydef.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/screen_keydef.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/screen_keydef.c b/src/screen_keydef.c
index 02ef177d8..a8f01b352 100644
--- a/src/screen_keydef.c
+++ b/src/screen_keydef.c
@@ -187,14 +187,14 @@ assign_new_key(WINDOW *w, int cmd_index, int key_index)
}
static const char *
-list_callback(unsigned idx, int *highlight, G_GNUC_UNUSED void *data)
+list_callback(unsigned idx, bool *highlight, G_GNUC_UNUSED void *data)
{
static char buf[BUFSIZE];
if (subcmd < 0) {
if (idx < (unsigned)command_list_length) {
if (cmds[idx].flags & COMMAND_KEY_CONFLICT)
- *highlight = 1;
+ *highlight = true;
return cmds[idx].name;
} else if (idx == LIST_ITEM_APPLY())
return LIST_ITEM_APPLY_LABEL;