aboutsummaryrefslogtreecommitdiff
path: root/vis.c
diff options
context:
space:
mode:
authorMarc André Tanner <mat@brain-dump.org>2017-06-12 18:27:30 +0200
committerMarc André Tanner <mat@brain-dump.org>2017-06-15 15:51:43 +0200
commit742fb8b4c39d3278227a25ab7723c0f72bbca552 (patch)
tree4a4e50f4eeebc4348904e44df0a77f39329bc4d3 /vis.c
parenta91e705dfd9b7358bf24e02312dfb06ab3e6848d (diff)
downloadvis-742fb8b4c39d3278227a25ab7723c0f72bbca552.tar.gz
vis-742fb8b4c39d3278227a25ab7723c0f72bbca552.tar.xz
view: rename view_cursors_number
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 2c72108..4aa7bd9 100644
--- a/vis.c
+++ b/vis.c
@@ -863,7 +863,7 @@ void vis_do(Vis *vis) {
.newpos = EPOS,
.range = text_range_empty(),
.reg = reg,
- .reg_slot = reg_slot == EPOS ? (size_t)view_cursors_number(cursor) : reg_slot,
+ .reg_slot = reg_slot == EPOS ? (size_t)view_selections_number(cursor) : reg_slot,
.linewise = linewise,
.arg = &a->arg,
.context = a->op ? a->op->context : NULL,