From a9c3e2c343dd1077fa08371a505ad766dcb81baa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc=20Andr=C3=A9=20Tanner?= Date: Mon, 12 Jun 2017 18:12:41 +0200 Subject: view: rename view_cursors_primary_{get,set} --- vis-prompt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'vis-prompt.c') diff --git a/vis-prompt.c b/vis-prompt.c index d2542ea..fc76dc7 100644 --- a/vis-prompt.c +++ b/vis-prompt.c @@ -169,7 +169,7 @@ void vis_prompt_show(Vis *vis, const char *title) { window_selection_save(active); Text *txt = prompt->file->text; text_appendf(txt, "%s\n", title); - Cursor *cursor = view_cursors_primary_get(prompt->view); + Cursor *cursor = view_selections_primary_get(prompt->view); view_cursors_scroll_to(cursor, text_size(txt)-1); prompt->parent = active; prompt->parent_mode = vis->mode; -- cgit v1.2.3