From 497021d0db40790cc9a98bb1d70ae091d170831e Mon Sep 17 00:00:00 2001 From: nicm Date: Mon, 15 Aug 2022 08:41:13 +0000 Subject: Add some const, from Markus F X J Oberhumer. --- key-bindings.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'key-bindings.c') diff --git a/key-bindings.c b/key-bindings.c index 6ce9c14c..4b790dfc 100644 --- a/key-bindings.c +++ b/key-bindings.c @@ -344,7 +344,7 @@ key_bindings_init_done(__unused struct cmdq_item *item, __unused void *data) void key_bindings_init(void) { - static const char *defaults[] = { + static const char *const defaults[] = { /* Prefix keys. */ "bind -N 'Send the prefix key' C-b { send-prefix }", "bind -N 'Rotate through the panes' C-o { rotate-window }", -- cgit v1.2.3