summaryrefslogtreecommitdiffstats
path: root/key-bindings.c
diff options
context:
space:
mode:
authornicm <nicm>2022-08-15 08:41:13 +0000
committernicm <nicm>2022-08-15 08:41:13 +0000
commit497021d0db40790cc9a98bb1d70ae091d170831e (patch)
tree1fc2e9ccd5b919bf321300b7793e2eb8e5e1cf7a /key-bindings.c
parentcfdc5b62ad64a4a41a604cd3b8ae00d9bb928bdf (diff)
Add some const, from Markus F X J Oberhumer.
Diffstat (limited to 'key-bindings.c')
-rw-r--r--key-bindings.c2
1 files changed, 1 insertions, 1 deletions
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 }",