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 815588e..976a476 100644
--- a/vis.c
+++ b/vis.c
@@ -1419,7 +1419,7 @@ static void action_do(Action *a) {
if (pos != EPOS) {
view_cursors_to(cursor, pos);
} else {
- view_cursors_free(cursor);
+ view_cursors_dispose(cursor);
}
}
}