aboutsummaryrefslogtreecommitdiff
path: root/view.c
diff options
context:
space:
mode:
Diffstat (limited to 'view.c')
-rw-r--r--view.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/view.c b/view.c
index 557a758..fafabc5 100644
--- a/view.c
+++ b/view.c
@@ -1161,8 +1161,8 @@ void view_cursors_place(Selection *s, size_t line, size_t col) {
view_cursors_to(s, pos);
}
-void view_selections_anchor(Selection *s) {
- s->anchored = true;
+void view_selections_anchor(Selection *s, bool anchored) {
+ s->anchored = anchored;
}
void view_selection_clear(Selection *s) {