diff options
| author | Marc André Tanner <mat@brain-dump.org> | 2017-06-12 18:22:22 +0200 |
|---|---|---|
| committer | Marc André Tanner <mat@brain-dump.org> | 2017-06-15 15:51:43 +0200 |
| commit | da6d35ef5b381aed3f9683398fd0869476d11acb (patch) | |
| tree | e0fe867c611aa3df19430d3904d99ba3a9c6818d /vis.c | |
| parent | 2b472cece9f60b6f3e610ea8a7fc36173557fe0c (diff) | |
| download | vis-da6d35ef5b381aed3f9683398fd0869476d11acb.tar.gz vis-da6d35ef5b381aed3f9683398fd0869476d11acb.tar.xz | |
view: rename view_cursors_selection_save
Diffstat (limited to 'vis.c')
| -rw-r--r-- | vis.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -252,7 +252,7 @@ void window_selection_save(Win *win) { file->marks[VIS_MARK_SELECTION_END] = text_mark_set(file->text, sel.end); if (!vis->action.op) { for (Selection *s = view_cursors(win->view); s; s = view_cursors_next(s)) - view_cursors_selection_save(s); + view_selections_save(s); } } @@ -980,7 +980,7 @@ void vis_do(Vis *vis) { view_selections_dispose(cursor); } else if (pos <= text_size(txt)) { if (vis->mode->visual) - view_cursors_selection_save(cursor); + view_selections_save(cursor); view_cursors_to(cursor, pos); } } |
