diff options
| author | Marc André Tanner <mat@brain-dump.org> | 2017-06-12 18:12:41 +0200 |
|---|---|---|
| committer | Marc André Tanner <mat@brain-dump.org> | 2017-06-15 15:51:42 +0200 |
| commit | a9c3e2c343dd1077fa08371a505ad766dcb81baa (patch) | |
| tree | 96414e375cbd15b3ca0e80ef51557d2a18fe7a45 /view.c | |
| parent | 948efb8e624c4488db00ba20ab58652212a091d7 (diff) | |
| download | vis-a9c3e2c343dd1077fa08371a505ad766dcb81baa.tar.gz vis-a9c3e2c343dd1077fa08371a505ad766dcb81baa.tar.xz | |
view: rename view_cursors_primary_{get,set}
Diffstat (limited to 'view.c')
| -rw-r--r-- | view.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -1026,7 +1026,7 @@ bool view_selections_dispose(Cursor *c) { if (!view->cursors || !view->cursors->next) return false; view_cursors_free(c); - view_cursors_primary_set(view->cursor); + view_selections_primary_set(view->cursor); return true; } @@ -1052,12 +1052,12 @@ Cursor *view_cursors(View *view) { return view->cursors; } -Cursor *view_cursors_primary_get(View *view) { +Cursor *view_selections_primary_get(View *view) { view->cursor_generation++; return view->cursor; } -void view_cursors_primary_set(Cursor *c) { +void view_selections_primary_set(Cursor *c) { if (!c) return; c->view->cursor = c; |
