diff options
| author | Marc André Tanner <mat@brain-dump.org> | 2017-06-12 18:08:38 +0200 |
|---|---|---|
| committer | Marc André Tanner <mat@brain-dump.org> | 2017-06-15 15:51:42 +0200 |
| commit | e00d1426ead5742a91bf3bccae920509ff21acb0 (patch) | |
| tree | 9162319b7436e90aa50fd5e7ab7e6785c44c96a7 | |
| parent | dc9f1cd879069889e6e3ef2fc6acc35250fe5423 (diff) | |
| download | vis-e00d1426ead5742a91bf3bccae920509ff21acb0.tar.gz vis-e00d1426ead5742a91bf3bccae920509ff21acb0.tar.xz | |
view: rename view_cursor_disposed
| -rw-r--r-- | sam.c | 2 | ||||
| -rw-r--r-- | view.c | 2 | ||||
| -rw-r--r-- | view.h | 2 |
3 files changed, 3 insertions, 3 deletions
@@ -1234,7 +1234,7 @@ enum SamError sam_cmd(Vis *vis, const char *s) { } if (vis->win) { - if (primary_pos != EPOS && view_cursor_disposed(vis->win->view)) + if (primary_pos != EPOS && view_selection_disposed(vis->win->view)) view_cursor_to(vis->win->view, primary_pos); view_cursors_primary_set(view_cursors(vis->win->view)); bool completed = true; @@ -1041,7 +1041,7 @@ bool view_selections_dispose_force(Cursor *c) { return true; } -Cursor *view_cursor_disposed(View *view) { +Cursor *view_selection_disposed(View *view) { Cursor *c = view->cursor_dead; view->cursor_dead = NULL; return c; @@ -135,7 +135,7 @@ bool view_selections_dispose_force(Cursor*); * If the primary selection was marked for destruction, return it and * clear descruction flag. */ -Cursor *view_cursor_disposed(View*); +Cursor *view_selection_disposed(View*); /** Dispose all but the primary selection. */ void view_cursors_clear(View*); /** |
