aboutsummaryrefslogtreecommitdiff
path: root/vis.c
diff options
context:
space:
mode:
Diffstat (limited to 'vis.c')
-rw-r--r--vis.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/vis.c b/vis.c
index 32deb80..489957a 100644
--- a/vis.c
+++ b/vis.c
@@ -414,7 +414,7 @@ void vis_delete(Vis *vis, size_t pos, size_t len) {
windows_invalidate(vis, pos, pos + len);
}
-bool vis_action_register(Vis *vis, KeyAction *action) {
+bool vis_action_register(Vis *vis, const KeyAction *action) {
if (!vis->actions)
vis->actions = map_new();
if (!vis->actions)