aboutsummaryrefslogtreecommitdiff
path: root/vis-operators.c
diff options
context:
space:
mode:
authorMarc André Tanner <mat@brain-dump.org>2016-04-13 17:17:14 +0200
committerMarc André Tanner <mat@brain-dump.org>2016-04-13 17:17:14 +0200
commit6c2b9033cfb1a82275871b2800c5ef1e4cf877a5 (patch)
treee3e9eae9658389541ecff0d1d72f674557a0c3e1 /vis-operators.c
parent0ab78db2cf8ca04c9b882f7b572819c8f34323ae (diff)
downloadvis-6c2b9033cfb1a82275871b2800c5ef1e4cf877a5.tar.gz
vis-6c2b9033cfb1a82275871b2800c5ef1e4cf877a5.tar.xz
Use view_cursors_new_force where appropriate
Close #263
Diffstat (limited to 'vis-operators.c')
-rw-r--r--vis-operators.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/vis-operators.c b/vis-operators.c
index 5fb33b1..aceb3d1 100644
--- a/vis-operators.c
+++ b/vis-operators.c
@@ -176,7 +176,7 @@ static size_t op_cursor(Vis *vis, Text *txt, OperatorContext *c) {
pos = text_line_finish(txt, line);
else
pos = text_line_start(txt, line);
- view_cursors_new(view, pos);
+ view_cursors_new_force(view, pos);
}
return EPOS;
}